Documentation ¶
Index ¶
- func Dial(protocol, host string, port int, path string) (*websocket.Conn, error)
- type WebSocket
- func (t *WebSocket) Close() error
- func (t *WebSocket) Closed() bool
- func (t *WebSocket) FD() int
- func (t *WebSocket) RQueue() chan connection.IPacket
- func (t *WebSocket) Read(hLen, bLen, bLenOffset int) ([]byte, error)
- func (t *WebSocket) RemoteIp() string
- func (t *WebSocket) Send(pack connection.IPacket) error
- func (t *WebSocket) SendBytes(buf []byte) error
- func (t *WebSocket) WQueue() chan []byte
- func (t *WebSocket) Write(pack []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.