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

@ -42,8 +42,8 @@ func (h *MessageHandler) Connected(admin bool, socket *WebSocket) (bool, string,
return true, "", nil
}
func (h *MessageHandler) Disconnected(id string) error {
return h.sessions.Destroy(id)
func (h *MessageHandler) Disconnected(id string) {
h.sessions.Destroy(id)
}
func (h *MessageHandler) Message(id string, raw []byte) error {