Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NodeUp node starting up NodeUp NodeState = 0 // NodeDown node shutdown NodeDown NodeState = 1 // NodeKeepalive node keepalive NodeKeepalive NodeState = 2 DefaultPublishPrefix = "node.publish" DefaultDiscoveryPrefix = "node.discovery" DefaultLivecycle = 2 * time.Second DefaultExpire = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetResponse ¶
type GetResponse struct {
Nodes []Node
}
Click to show internal directories.
Click to hide internal directories.