ctrl_msg

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

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

	CircuitSuccessAddressHeader = 1100
	RouteResultAttemptHeader    = 1101
	RouteResultSuccessHeader    = 1102
	RouteResultErrorHeader      = 1103
	RouteResultErrorCodeHeader  = 1104

	ErrorTypeGeneric                 = 0
	ErrorTypeInvalidTerminator       = 1
	ErrorTypeMisconfiguredTerminator = 2
	ErrorTypeDialTimedOut            = 3
	ErrorTypeConnectionRefused       = 4
)

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) *channel.Message

func NewRouteResultSuccessMsg added in v0.16.0

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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