# Functions
ExpectMsg reads a message from r and verifies that its code and encoded RLP content match the provided values.
MsgPipe creates a message pipe.
NewPeer returns a peer for testing purposes.
Send writes an RLP-encoded message with the given code.
SendItems writes an RLP with the given code and data elements.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrPipeClosed is returned from pipe operations after the pipe has been closed.
# Structs
Cap is the structure of a peer capability.
Config holds Server options.
Msg defines the structure of a p2p message.
MsgPipeRW is an endpoint of a MsgReadWriter pipe.
NodeInfo represents a short summary of the information known about the host.
Peer represents a connected remote node.
PeerInfo represents a short summary of the information known about a connected peer.
Protocol represents a P2P subprotocol implementation.
Server manages all peer connections.
# Interfaces
No description provided by the author
MsgReadWriter provides reading and writing of encoded messages.
No description provided by the author
# Type aliases
No description provided by the author