Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCompressConn ¶
func NewCompressConn(conn net.Conn, compressType CompressType) net.Conn
func WebsocketConnector ¶
Types ¶
type CompressConn ¶
func (*CompressConn) Close ¶
func (c *CompressConn) Close() error
type CompressType ¶
type CompressType byte
const ( // CompressNone represents no compression CompressNone CompressType = iota // CompressFlate represents zip CompressFlate // CompressSnappy represents snappy CompressSnappy )
Click to show internal directories.
Click to hide internal directories.