package
0.38.1
Repository: https://github.com/aperturerobotics/bifrost.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

EstablishLinkWithPeerEx executes a EstablishLinkWithPeer directive.
GetMountedStreamContext returns the MountedStreamContext from the Context or nil if unset.
MustGetMountedStreamContext returns the MountedStreamContext from the Context or an error if unset.
NewEstablishLinkWithPeer constructs a new EstablishLinkWithPeer directive.
NewHandleMountedStream constructs a new HandleMountedStream directive.
NewOpenStreamViaLink constructs a new openStreamViaLink directive.
NewOpenStreamWithPeer constructs a new openStreamWithPeer directive.
OpenStreamViaLinkEx executes a OpenStreamViaLink directive.
OpenStreamWithPeerEx executes a OpenStreamWithPeer directive.
WithMountedStreamContext attaches a MountedStreamContext to a Context.

# Variables

ErrNoMountedStreamContext is returned if there was no MountedStreamContext.

# Interfaces

EstablishLinkWithPeer is a directive to establish a link with a peer.
HandleMountedStream is a directive to return a mounted stream handler for a protocol ID.
Link represents a one-hop connection between two peers.
MountedStream is a stream attached to a Link.
MountedStreamHandler handles an incoming mounted stream.
OpenStreamViaLink is a directive to open a stream with a peer over an established link.
OpenStreamWithPeer is a directive to open a stream with a peer.

# Type aliases

EstablishLinkWithPeerValue is the type emitted when resolving EstablishLinkWithPeer.
HandleMountedStreamValue is the value type for HandleMountedStream.
MountedStreamContext is the value attached to a Context containing information about the current mounted stream.
OpenStreamViaLinkValue is the value of OpenStreamViaLink.