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 TerminatorLocalAddressHeader = 1110 TerminatorRemoteAddressHeader = 1111 InitiatorLocalAddressHeader = 1112 InitiatorRemoteAddressHeader = 1113 ErrorTypeGeneric = 0 ErrorTypeInvalidTerminator = 1 ErrorTypeMisconfiguredTerminator = 2 ErrorTypeDialTimedOut = 3 ErrorTypeConnectionRefused = 4 )
Variables ¶
This section is empty.
Functions ¶
func NewCircuitFailedMsg ¶
func NewCircuitFailedMsg(message string) *channel.Message
func NewCircuitSuccessMsg ¶
func NewCircuitSuccessMsg(sessionId, address string) *channel.Message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.