Documentation ¶
Overview ¶
Package address provides utility functions for working with hcnet addresses. See https://developers.hcnet.org/docs/glossary/federation/ html#hcnet-addresses for more on addresses.
Index ¶
Constants ¶
View Source
const Separator = "*"
Separator seperates the name and domain portions of an address
Variables ¶
View Source
var ( // ErrInvalidAddress is the error returned when an address is invalid in // such a way that we do not know if the name or domain portion is at fault. ErrInvalidAddress = errors.New("invalid address") // ErrInvalidName is the error returned when an address's name portion is // invalid. ErrInvalidName = errors.New("name part of address is invalid") // ErrInvalidDomain is the error returned when an address's domain portion // is invalid. ErrInvalidDomain = errors.New("domain part of address is invalid") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.