package
0.0.1
Repository: https://github.com/libonomy/libonomy-p2p.git
Documentation: pkg.go.dev

# Functions

NewMsgServer registers a protocol and returns a new server to declare request and response handlers on.

# Structs

Item is queue entry used to match responds to sent requests.
MessageServer is a request-response multiplexer on top of the p2p layer.

# Interfaces

Message is helper type for `MessegeServer` messages.
Service is the subset of method used by MessageServer for p2p communications.

# Type aliases

MessageType is an int32 used to distinguish between server messages inside a single protocol.