optimization of bytes conversion

This commit is contained in:
Ally Dale
2019-07-02 09:43:19 +08:00
parent 463498c618
commit bb1e3337f6
2 changed files with 6 additions and 4 deletions

View File

@@ -23,6 +23,8 @@ type IWebsocketServer interface {
CreateClient(conn *websocket.Conn) *WSClient
Disconnect(clientid uint64)
ReleaseClient(pclient *WSClient)
Clients() []uint64
BroadcastMsg(messageType int, msg []byte) int
}
type IMessageReceiver interface {