Documentation ¶
Overview ¶
Package websocketx contains websocket extensions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface { Close() error ReadMessage() (messageType int, p []byte, err error) NextReader() (messageType int, r io.Reader, err error) SetReadLimit(limit int64) SetReadDeadline(t time.Time) error SetWriteDeadline(t time.Time) error WritePreparedMessage(pm *websocket.PreparedMessage) error }
Conn is the interface of a websocket.Conn used for mocking.
Click to show internal directories.
Click to hide internal directories.