Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuperGroup = "super" ServiceGroup = "service" NormalGroup = "normal" )
View Source
const ( WebSocketOpContinuation byte = 0x0 WebSocketOpText byte = 0x1 WebSocketOpBinary byte = 0x2 WebSocketOpClose byte = 0x8 WebSocketOpPing byte = 0x9 WebSocketOpPong byte = 0xa )
View Source
const HTTPConnection = 3
View Source
const HTTPSConnection = 4
View Source
const WebSocketConnection = 1
View Source
const WebSocketSecureConnection = 2
Variables ¶
View Source
var ( //headerHostCanonical = textproto.CanonicalMIMEHeaderKey(headerHost) HeaderUpgradeCanonical = textproto.CanonicalMIMEHeaderKey(headerUpgrade) HeaderConnectionCanonical = textproto.CanonicalMIMEHeaderKey(headerConnection) HeaderAuthorizationCanonical = textproto.CanonicalMIMEHeaderKey(headerAuthorization) //headerSecVersionCanonical = textproto.CanonicalMIMEHeaderKey(headerSecVersion) HeaderSecProtocolCanonical = textproto.CanonicalMIMEHeaderKey(headerSecProtocol) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.