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 ¶ added in v0.42.3
func IsValidIdentifier ¶ added in v0.29.0
func NormalizeIdentifier ¶
func ParseIdentifier ¶ added in v0.29.0
Types ¶
Click to show internal directories.
Click to hide internal directories.