mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-15 08:14:46 +08:00
optimization of bytes conversion
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user