Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExpectedWSCloseError ¶
IsExpectedWSCloseError returns boolean indicating whether the error is a clean disconnection.
Types ¶
type Websocket ¶
Websocket exposes the bits of *websocket.Conn we actually use. Note that we are emulating an `io.ReadWriter`. This is to be able to support RPC codecs, which operate on byte streams.
Click to show internal directories.
Click to hide internal directories.