unexport internal nip05 types.

This commit is contained in:
fiatjaf
2023-02-05 16:22:41 -03:00
parent e407725a43
commit 024f89ac58

View File

@@ -8,13 +8,13 @@ import (
) )
type ( type (
Name2KeyMap map[string]string name2KeyMap map[string]string
Key2RelaysMap map[string][]string key2RelaysMap map[string][]string
) )
type WellKnownResponse struct { type WellKnownResponse struct {
Names Name2KeyMap `json:"names"` // NIP-05 Names name2KeyMap `json:"names"` // NIP-05
Relays Key2RelaysMap `json:"relays"` // NIP-35 Relays key2RelaysMap `json:"relays"` // NIP-35
} }
func QueryIdentifier(fullname string) string { func QueryIdentifier(fullname string) string {