mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
refactor WebRTC antipatterns.
This commit is contained in:
@ -16,10 +16,10 @@ type Session interface {
|
||||
Connected() bool
|
||||
Member() *Member
|
||||
SetMuted(muted bool)
|
||||
SetName(name string) error
|
||||
SetConnected(connected bool)
|
||||
SetSocket(socket WebSocket) error
|
||||
SetPeer(peer Peer) error
|
||||
SetName(name string)
|
||||
SetConnected()
|
||||
SetSocket(socket WebSocket)
|
||||
SetPeer(peer Peer)
|
||||
Address() string
|
||||
Disconnect(message string) error
|
||||
Send(v interface{}) error
|
||||
|
Reference in New Issue
Block a user