ctrl_msg

package
v0.17.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CircuitSuccessType      = 1001
	CircuitFailedType       = 1016
	RouteResultType         = 1022
	CircuitConfirmationType = 1034

	CircuitSuccessAddressHeader = 1100
	RouteResultAttemptHeader    = 1101
	RouteResultSuccessHeader    = 1102
	RouteResultErrorHeader      = 1103
)

Variables

This section is empty.

Functions

func NewCircuitFailedMsg added in v0.16.92

func NewCircuitFailedMsg(message string) *channel.Message

func NewCircuitSuccessMsg added in v0.16.92

func NewCircuitSuccessMsg(sessionId, address string) *channel.Message

func NewRouteResultFailedMessage added in v0.16.0

func NewRouteResultFailedMessage(sessionId string, attempt int, rerr string) *channel2.Message

func NewRouteResultSuccessMsg added in v0.16.0

func NewRouteResultSuccessMsg(sessionId string, attempt int) *channel2.Message

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL