Documentation ¶
Index ¶
Constants ¶
View Source
const ( // control message type ControlTypeHeader = "header" ControlTypeConfig = "config" ControlTypePing = "ping" ControlTypePong = "pong" // control message action ControlActionHeader = "/control/header" ControlActionConfig = "/control/config" ControlActionPing = "/control/ping" ControlActionPong = "/control/pong" // response type RespTypeAck = "ack" RespTypeNack = "nack" // the max size of message fifo MessageFiFoSizeMax = 100 // MaxReadLength is the max length of http response body MaxReadLength = 1 << 20 // 1 MiB )
View Source
const ( StatusCodeNoError = 0 StatusCodeFreeStream = 1 )
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.