constants

package
v0.0.0-...-b68b127 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL