Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebsocketConn ¶
type WebsocketConn interface { net.Conn WriteMessage(int, []byte) error ReadMessage() (int, []byte, error) xnet.ClientAddr }
func Conn ¶
func Conn(conn *websocket.Conn) WebsocketConn
func ConnWithClientAddr ¶ added in v0.2.6
func ConnWithClientAddr(conn *websocket.Conn, clientAddr net.Addr) WebsocketConn
Click to show internal directories.
Click to hide internal directories.