Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Nip05Regex = regexp.MustCompile(`^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$`)
Functions ¶
func IsValidIdentifier ¶
Types ¶
type WellKnownResponse ¶
type WellKnownResponse struct { Names map[S]S `json:"names"` Relays map[S][]S `json:"relays,omitempty"` NIP46 map[S][]S `json:"nip46,omitempty"` }
func NewWellKnownResponse ¶
func NewWellKnownResponse() *WellKnownResponse
Click to show internal directories.
Click to hide internal directories.