p2pmsg

package
v0.33.21-fix-get-highe... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL