Documentation ¶
Index ¶
Constants ¶
View Source
const EOF string = "EOF"
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 net.Conn, log *zap.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.