Connected / Disconnected refactor.

This commit is contained in:
Miroslav Šedivý
2020-11-01 21:03:25 +01:00
parent e51541fe01
commit 51c6e0091f
5 changed files with 17 additions and 18 deletions

View File

@ -14,8 +14,7 @@ type Session interface {
SetName(name string)
SetSocket(socket WebSocket)
SetPeer(peer Peer)
SetConnected()
SetDisconnected()
SetConnected(connected bool)
Disconnect(reason string) error
Send(v interface{}) error
SignalAnswer(sdp string) error