Archived
2
0

lint fix.

This commit is contained in:
Miroslav Šedivý
2021-10-05 23:10:10 +02:00
parent 1ff743c598
commit 9c014336ff
16 changed files with 76 additions and 46 deletions

View File

@ -1,6 +1,7 @@
package types
type BroadcastManager interface {
Shutdown() error
Start() error
Stop()
IsActive() bool

View File

@ -38,7 +38,7 @@ type SessionManager interface {
Get(id string) (Session, bool)
Members() []*Member
Admins() []*Member
Destroy(id string) error
Destroy(id string)
Clear() error
Broadcast(v interface{}, exclude interface{}) error
OnHost(listener func(id string))

View File

@ -15,7 +15,7 @@ type WebSocket interface {
}
type WebSocketHandler interface {
Start() error
Start()
Shutdown() error
Upgrade(w http.ResponseWriter, r *http.Request) error
Stats() Stats