Documentation
¶
Index ¶
- Variables
- func IdentifierToURL(address string) string
- func IsValidIdentifier(input string) bool
- func NormalizeIdentifier(fullname string) string
- func ParseIdentifier(fullname string) (name string, domain string, err error)
- func QueryIdentifier(ctx context.Context, fullname string) (*nostr.ProfilePointer, error)
- type WellKnownResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var NIP05_REGEX = regexp.MustCompile(`^(?:([\w.+-]+)@)?([\w_-]+(\.[\w_-]+)+)$`)
Functions ¶
func IdentifierToURL ¶
func IsValidIdentifier ¶
func NormalizeIdentifier ¶
func ParseIdentifier ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.