Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a single WS connection
type Conns ¶
type Conns struct {
// contains filtered or unexported fields
}
Conns manages active WS connections
func (*Conns) AddWSConnection ¶
AddWSConnection registers a new WS connection
func (*Conns) GetWSConnection ¶
func (pw *Conns) GetWSConnection(id string) conns.WSConnection
GetWSConnection fetches a WS connection, if any
func (*Conns) RemoveWSConnection ¶
RemoveWSConnection removes an existing WS connection
Click to show internal directories.
Click to hide internal directories.