Documentation ¶
Overview ¶
Package baseio micserver 中网络连接的基础IO接口实现,支持自定义网络协议
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocal ¶
type Protocal interface { // 读数据 DoRead(reader io.ReadWriter, state interface{}, data []byte) (int, interface{}, error) // 写数据 DoWrite(writer io.ReadWriter, state interface{}, toData []byte) (int, interface{}, error) }
Protocal 网络层协议接口
Click to show internal directories.
Click to hide internal directories.