2023-02-05 16:25:00 -03:00
|
|
|
package nostr
|
|
|
|
|
|
|
|
type ProfilePointer struct {
|
2023-05-04 08:22:17 -03:00
|
|
|
PublicKey string `json:"pubkey"`
|
|
|
|
Relays []string `json:"relays,omitempty"`
|
2023-02-05 16:25:00 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
type EventPointer struct {
|
2023-05-04 08:22:17 -03:00
|
|
|
ID string `json:"id"`
|
|
|
|
Relays []string `json:"relays,omitempty"`
|
|
|
|
Author string `json:"author,omitempty"`
|
|
|
|
Kind int `json:"kind,omitempty"`
|
2023-02-05 16:25:00 -03:00
|
|
|
}
|
2023-02-27 16:15:04 -03:00
|
|
|
|
|
|
|
type EntityPointer struct {
|
2023-05-04 08:22:17 -03:00
|
|
|
PublicKey string `json:"pubkey"`
|
|
|
|
Kind int `json:"kind,omitempty"`
|
|
|
|
Identifier string `json:"identifier,omitempty"`
|
|
|
|
Relays []string `json:"relays,omitempty"`
|
2023-02-27 16:15:04 -03:00
|
|
|
}
|