Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeIdentifier ¶
NormalizeIdentifier trims off the _@ prefix for how a NIP-05 identifier should be shown in a user interface.
Types ¶
type WellKnownResponse ¶
type WellKnownResponse struct { Names name2KeyMap `json:"names"` // NIP-05 Relays key2RelaysMap `json:"relays"` // NIP-35 }
WellKnownResponse is the standard format of the JSON file hosted at a given URL with the path /.well-known/nostr.json
Click to show internal directories.
Click to hide internal directories.