package
0.1.0
Repository: https://github.com/bpfs/dep2p.git
Documentation: pkg.go.dev

# Functions

AddTransport constructs a new p2p-circuit/v2 client and adds it as a transport to the host network.
New constructs a new p2p-circuit/v2 client, attached to the given host and using the given upgrader to perform connection upgrades.
Reserve reserves a slot in a relay and returns the reservation information.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
HopTagWeight is the connection manager weight for connections carrying relay hop streams.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Client implements the client-side of the p2p-circuit/v2 protocol: - it implements dialing through v2 relays - it listens for incoming connections through v2 relays.
No description provided by the author
No description provided by the author
Reservation is a struct carrying information about a relay/v2 slot reservation.
ReservationError is the error returned on failure to reserve a slot in the relay.

# Type aliases

No description provided by the author