Documentation ¶
Index ¶
- type Agent
- type Conn
- type ConnSet
- type MsgParser
- type TCPClient
- type TCPConn
- func (tcpConn *TCPConn) Close()
- func (tcpConn *TCPConn) Destroy()
- func (tcpConn *TCPConn) LocalAddr() net.Addr
- func (tcpConn *TCPConn) Read(b []byte) (int, error)
- func (tcpConn *TCPConn) ReadMsg() ([]byte, error)
- func (tcpConn *TCPConn) RemoteAddr() net.Addr
- func (tcpConn *TCPConn) Write(b []byte)
- func (tcpConn *TCPConn) WriteMsg(args ...[]byte) error
- type TCPServer
- type WSClient
- type WSConn
- type WSHandler
- type WSServer
- type WebsocketConnSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgParser ¶ added in v1.0.4
type MsgParser struct {
// contains filtered or unexported fields
}
-------------- | len | data | --------------
func NewMsgParser ¶ added in v1.0.4
func NewMsgParser() *MsgParser
func (*MsgParser) SetByteOrder ¶ added in v1.0.4
It's dangerous to call the method on reading or writing
type TCPClient ¶ added in v1.0.4
type TCPConn ¶ added in v1.0.4
func (*TCPConn) RemoteAddr ¶ added in v1.0.4
type TCPServer ¶ added in v1.0.4
type WSClient ¶ added in v1.0.4
type WSConn ¶ added in v1.0.4
func (*WSConn) RemoteAddr ¶ added in v1.0.4
type WSHandler ¶ added in v1.0.4
type WSHandler struct {
// contains filtered or unexported fields
}
type WSServer ¶ added in v1.0.4
type WebsocketConnSet ¶ added in v1.0.4
Source Files ¶
Click to show internal directories.
Click to hide internal directories.