unexport internal nip05 types.

This commit is contained in:
fiatjaf 2023-02-05 16:22:41 -03:00
parent e407725a43
commit 024f89ac58
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -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 {