Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketType ¶
type PacketType int
const ( Unknown PacketType = iota // RPC is packet type to execute RPC on a remote node. RPC // Pulse is packet type to receive Pulse from pulsard and resend it on remote nodes. Pulse // Bootstrap is packet type for the node bootstrap process. Bootstrap // Authorize is packet type to authorize bootstrapping node on discovery node. Authorize // Disconnect is packet type to gracefully disconnect from network. Disconnect // SignCert used to request signature of certificate from another node SignCert // UpdateSchedule used for fetching pulse history UpdateSchedule // Reconnect used to notify nodes to reconnect to the bigger network Reconnect )
func (PacketType) String ¶
func (i PacketType) String() string
Click to show internal directories.
Click to hide internal directories.