mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
nip05: add nip46 field.
This commit is contained in:
parent
8da32e6dfc
commit
ce424619f4
@ -11,14 +11,10 @@ import (
|
||||
"github.com/nbd-wtf/go-nostr"
|
||||
)
|
||||
|
||||
type (
|
||||
name2KeyMap map[string]string
|
||||
key2RelaysMap map[string][]string
|
||||
)
|
||||
|
||||
type WellKnownResponse struct {
|
||||
Names name2KeyMap `json:"names"` // NIP-05
|
||||
Relays key2RelaysMap `json:"relays"` // NIP-35
|
||||
Names map[string]string `json:"names"`
|
||||
Relays map[string][]string `json:"relays"`
|
||||
NIP46 map[string][]string `json:"nip46"`
|
||||
}
|
||||
|
||||
func QueryIdentifier(ctx context.Context, fullname string) (*nostr.ProfilePointer, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user