mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
unexport internal nip05 types.
This commit is contained in:
parent
e407725a43
commit
024f89ac58
@ -8,13 +8,13 @@ import (
|
||||
)
|
||||
|
||||
type (
|
||||
Name2KeyMap map[string]string
|
||||
Key2RelaysMap map[string][]string
|
||||
name2KeyMap map[string]string
|
||||
key2RelaysMap map[string][]string
|
||||
)
|
||||
|
||||
type WellKnownResponse struct {
|
||||
Names Name2KeyMap `json:"names"` // NIP-05
|
||||
Relays Key2RelaysMap `json:"relays"` // NIP-35
|
||||
Names name2KeyMap `json:"names"` // NIP-05
|
||||
Relays key2RelaysMap `json:"relays"` // NIP-35
|
||||
}
|
||||
|
||||
func QueryIdentifier(fullname string) string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user