Documentation
¶
Index ¶
- func HandleClient(conn net.Conn, h Handler) io.WriteCloser
- func Marshal(w io.Writer, obj interface{}) (int, error)
- func Packet(w io.Writer, size, id uint16, v ...interface{}) error
- func TODO(data []byte, c io.Writer) error
- func Unmarshal(data []byte, v interface{}) (int, error)
- type Conn
- type HandleFunc
- type Handler
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HandleFunc ¶
HandleFunc 消息回调
Click to show internal directories.
Click to hide internal directories.