Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSocket = errors.New("ws: could not find associated WebSocket")
ErrNoSocket is returned if there could be no WebSocket found for some key.
Functions ¶
func Close ¶
Close closes the WebSocket associated with the given key. It does not take care of messages currently being sent, and just roughly closes the underlying connection. If the connection is already gone it will do nothing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.