Documentation ¶
Index ¶
- func WaitCtrlC()
- type Client
- type Server
- func (o *Server) OmsgClientClose(conn net.Conn)
- func (o *Server) OmsgData(conn net.Conn, cmd, ext uint16, data []byte)
- func (o *Server) OmsgError(conn net.Conn, err error)
- func (o *Server) OmsgNewClient(conn net.Conn)
- func (o *Server) Send(conn net.Conn, cmd, ext uint16, originData []byte) error
- func (o *Server) Start(key, serverPort string, crc bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 客户端
Click to show internal directories.
Click to hide internal directories.