Documentation ¶
Index ¶
Constants ¶
View Source
const ( // The length of token that client endpoint send to server endpoint TokenLength = 512 // The lenght of ack message that server endpoint send to client endpoint AckMsgLength = 1 )
View Source
const ( // Means that server endpoint accept the token which receive from client endpoint HandshakeSuccess = 0x01 // Means that server endpoint cannot parse token ParseTokenError = 0x02 // Means that server endpoint cannot connect server application CannotConnServer = 0x03 )
View Source
const ( ClientAppAddr = "Client-App-Addr" StreamID = "Stream-ID" ServerAppAddr = "Server-App-Addr" ClientEndpointAddr = "Client-Endpoint-Addr" )
The key names of log's additional key/value pairs
View Source
const ( CtxRemoteEndpointAddr keytype = "Remote-Endpoint-Addr" CtxClientAppAddr keytype = "Client-App-Addr" )
The key names of value context
View Source
const ( ClientEndpoint = "client" ServerEndpoint = "server" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.