package
1.7.5
Repository: https://github.com/filecoin-project/boost.git
Documentation: pkg.go.dev

# Functions

ReadForwardingRequest reads a forwarding request from a network stream.
ReadForwardingResponse reads a forwarding response from a network stream.
WriteForwardingResponseError sends a routing response with code Rejected and a message containing the error to a io.Writer.
WriteInboundForwardingRequest writes a new inbound forwarding request to a network strema.
WriteOutboundForwardingRequest writes a new outbound forwarding request to a network strema.
WriteOutboundForwardingResponseSuccess writes a new outbound forwarding success response to a network strema.

# Constants

ForwardingInbound is a forwarding request initiated by the load balancer to a routed peer, requesting forwarding of a public peers traffic inbound the routed peer.
ForwardingOutbound is a forwarding request initaited by a routed peer to the load balancer requesting forward of traffic outbound to a public peer.
ResponseOk indicates a request was successful.
ResponseRejected indicates something went wrong in the request -- more information is supplied in the Message field of the response.

# Variables

BindnodeRegistry is the serialization/deserialization tool for messages.

# Structs

ForwardingRequest is a request to forward traffic through the load balancer.
ForwardingResponse is a response to and outbound forwarding request.

# Type aliases

ForwardingKind indicates the direction of a forwarding request.
ResponseCode indicates a success or failure on either the register-routing or the forwarding protocols.