Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection represents wrapped and safe to use from the different threads websocket connection
func NewConnection ¶
func NewConnection(wsConn *websocket.Conn, log logger.Logger) *Connection
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Write ¶
func (c *Connection) Write(data []byte) error
Click to show internal directories.
Click to hide internal directories.