mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-15 16:50:16 +01:00
unexport internal nip05 types.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user