Documentation ¶
Index ¶
Constants ¶
View Source
const BufferSize = 256 * 1024
BufferSize for coybuffer and websocket
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handlers
func New ¶
func New( handshakeTimeout time.Duration, dialTimeout time.Duration, writeTimeout time.Duration, enableCompression bool, mp *mapping.Mapping, pk *publickey.Publickey, dumpTCP uint, logger *zap.Logger) (*Handler, error)
New new handler
Click to show internal directories.
Click to hide internal directories.