Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlMessageType ¶
type ControlMessageType string
ControlMessageType is the type of control message, as defined in the libp2p pubsub spec.
const ( CtrlMsgIHave ControlMessageType = "IHAVE" CtrlMsgIWant ControlMessageType = "IWANT" CtrlMsgGraft ControlMessageType = "GRAFT" CtrlMsgPrune ControlMessageType = "PRUNE" RpcPublishMessage ControlMessageType = "RpcPublishMessage" )
func ControlMessageTypes ¶
func ControlMessageTypes() []ControlMessageType
ControlMessageTypes returns list of all libp2p control message types.
func (ControlMessageType) String ¶
func (c ControlMessageType) String() string
Click to show internal directories.
Click to hide internal directories.