mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 16:59:12 +02:00
websocket connection change.
This commit is contained in:
parent
89081d9887
commit
da1d073846
3 changed files with 12 additions and 6 deletions
|
@ -15,7 +15,7 @@ type Session interface {
|
|||
|
||||
// websocket
|
||||
SetWebSocketPeer(websocketPeer WebSocketPeer)
|
||||
SetWebSocketConnected(connected bool)
|
||||
SetWebSocketConnected(websocketPeer WebSocketPeer, connected bool)
|
||||
Send(v interface{}) error
|
||||
Disconnect(reason string) error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue