mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
Split connected to WebRTC & WebSocket.
This commit is contained in:
@ -10,7 +10,10 @@ type Session interface {
|
||||
Connected() bool
|
||||
SetName(name string)
|
||||
SetWebSocketPeer(websocket_peer WebSocketPeer)
|
||||
SetWebSocketConnected(connected bool)
|
||||
SetWebRTCPeer(webrtc_peer WebRTCPeer)
|
||||
SetWebRTCConnected(connected bool)
|
||||
// TODO: Refactor.
|
||||
SetConnected(connected bool)
|
||||
Disconnect(reason string) error
|
||||
Send(v interface{}) error
|
||||
|
Reference in New Issue
Block a user