Documentation ¶
Index ¶
- Constants
- func NewCircuitFailedMsg(message string) *channel.Message
- func NewCircuitSuccessMsg(sessionId, address string) *channel.Message
- func NewRouteResultFailedMessage(sessionId string, attempt int, rerr string) *channel.Message
- func NewRouteResultSuccessMsg(sessionId string, attempt int) *channel.Message
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 NewCircuitSuccessMsg ¶ added in v0.16.92
func NewRouteResultFailedMessage ¶ added in v0.16.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.