package
0.0.0-20241221123402-d1b4610d0d15
Repository: https://github.com/backkem/go-lp2p.git
Documentation: pkg.go.dev

# Functions

NewLP2PQuicTransportListener accepts a LP2PReceiver or LP2PRequest as a source to get transports from.
NewLP2PRequest.
NewLP2Receiver.

# Constants

PayloadType enums.
PayloadType enums.
PayloadType enums.

# Variables

No description provided by the author

# Structs

Data channel supports simple message passing over WebTransport.
DataChannelInit can be used to configure properties of the underlying channel.
LP2PConnection.
No description provided by the author
No description provided by the author
No description provided by the author
LP2PReceiver advertises itself and receives incoming peer connections.
No description provided by the author
LP2PRequest Rename to LP2PConnectionRequest?.
No description provided by the author
No description provided by the author
No description provided by the author
OnDataChannel fires when a data channel is opened.
No description provided by the author
No description provided by the author
PayloadBinary is a binary DataChannel message.
PayloadString is a string DataChannel message.

# Interfaces

Payload is the body of a DataChannel message.

# Type aliases

PayloadType are the different types of data that can be represented in a DataChannel message.