package
0.101.0
Repository: https://github.com/blinklabs-io/gouroboros.git
Documentation: pkg.go.dev

# Functions

New returns a new PeerSharing object.
NewClient returns a new PeerSharing client object.
NewConfig returns a new PeerSharing config object with the provided options.
No description provided by the author
NewMsgFromCbor parses a PeerSharing message from CBOR.
No description provided by the author
No description provided by the author
NewServer returns a new PeerSharing server object.
WithShareRequestFunc specifies the ShareRequest callback function.
WithTimeout specifies the timeout for the handshake operation.

# Constants

Message types.
Message types.
Message types.
Protocol identifiers.
Protocol identifiers.

# Variables

PeerSharing protocol state machine.

# Structs

Callback context.
Client implements the PeerSharing client.
Config is used to configure the PeerSharing protocol instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PeerSharing is a wrapper object that holds the client and server instances.
Server implements the PeerSharing server.

# Type aliases

PeerSharingOptionFunc represents a function used to modify the PeerSharing protocol config.
Callback function types.