Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketType ¶
type PacketType int
const ( // Ping is packet type to ping remote node. Ping PacketType = iota + 1 // RPC is packet type to execute RPC on a remote node. RPC // Cascade is packet type to send cascade message and execute RPC on each node of the cascade. Cascade // Pulse is packet type to receive Pulse from pulsard and resend it on remote nodes. Pulse // GetRandomHosts is packet type for pulsar daemon to get random hosts from insolar daemon. GetRandomHosts // Bootstrap is packet type for the node bootstrap process. Bootstrap // Authorize is packet type to authorize bootstrapping node on discovery node. Authorize // Register is packet type to connect node to discovery node and add join claim to consensus Register // Genesis is packet type for active list exchange between discovery nodes Genesis // Challenge1 is packet type for first phase of double challenge response Challenge1 // Challenge2 is packet type for first phase of double challenge response Challenge2 // Disconnect is packet type to gracefully disconnect from network. Disconnect // Phase1 is packet type for phase 1 Phase1 // Phase1 is packet type for phase 2 Phase2 // Phase3Pulse is packet type for phase 3 ( pulse ) Phase3 )
func (PacketType) String ¶
func (i PacketType) String() string
Click to show internal directories.
Click to hide internal directories.