remove unused ban endpoint.

This commit is contained in:
Miroslav Šedivý
2020-11-16 22:21:21 +01:00
parent d87a10b23a
commit 570efbf3a6
8 changed files with 0 additions and 95 deletions

View File

@ -38,7 +38,6 @@ const (
)
const (
ADMIN_BAN = "admin/ban"
ADMIN_KICK = "admin/kick"
ADMIN_LOCK = "admin/lock"
ADMIN_UNLOCK = "admin/unlock"

View File

@ -8,7 +8,6 @@ type Session interface {
Admin() bool
IsHost() bool
Connected() bool
Address() string
SetName(name string)
SetSocket(socket WebSocket)
SetPeer(peer Peer)

View File

@ -3,7 +3,6 @@ package types
import "net/http"
type WebSocket interface {
Address() string
Send(v interface{}) error
Destroy() error
}