Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GracefulCloseTimeout = 100 * time.Millisecond
GracefulCloseTimeout is the time to wait trying to gracefully close a connection before simply cutting it.
Functions ¶
Types ¶
type Conn ¶
type Conn struct { *websocket.Conn DefaultMessageType int // contains filtered or unexported fields }
Conn implements net.Conn interface for gorilla/websocket.
Click to show internal directories.
Click to hide internal directories.