support relays in nip05.

This commit is contained in:
fiatjaf
2023-02-05 16:25:00 -03:00
parent 024f89ac58
commit a3e3b25dd9
3 changed files with 28 additions and 18 deletions

11
pointers.go Normal file
View File

@@ -0,0 +1,11 @@
package nostr
type ProfilePointer struct {
PublicKey string
Relays []string
}
type EventPointer struct {
ID string
Relays []string
}