Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identity ¶
type Identity uint8
Identity is a type of address identity It has a different package to avoid name collision
const ( // IP is either IPv4 or IPv6 IP Identity // DNS is a symbolic name DNS // HostPK is a PK of a node HostPK // HostID is numeric id of a node HostID // LocalUID is a locally unique id assigned to a node. It changes each time when node is unregistered/disconnected. LocalUID )
func (Identity) IsLocalUID ¶
func (Identity) IsNetCompatible ¶
IsNetCompatible is true when address is compatible with "net" package
func (Identity) IsResolved ¶
IsResolved is true when address is resolved and represents a single endpoint
Click to show internal directories.
Click to hide internal directories.