Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Identity ¶
type Identity struct { // UUID is a unique identifier for a Domain UUID string // Version is the version of Code which the Domain is running Version semver.Version // Services is the list of services the Domain currently offers Services map[string]ServiceIdentity // LastContact is when the legion last heard from this Identity LastContact time.Time // IP is the port which the Domain will be responding on IP net.IP // Port is the port which the Domain will be responding on Port int }
Identity contains the all shareable information about a domain
type ServiceIdentity ¶
Click to show internal directories.
Click to hide internal directories.