mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove unused ban endpoint.
This commit is contained in:
@ -38,7 +38,6 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
ADMIN_BAN = "admin/ban"
|
||||
ADMIN_KICK = "admin/kick"
|
||||
ADMIN_LOCK = "admin/lock"
|
||||
ADMIN_UNLOCK = "admin/unlock"
|
||||
|
@ -8,7 +8,6 @@ type Session interface {
|
||||
Admin() bool
|
||||
IsHost() bool
|
||||
Connected() bool
|
||||
Address() string
|
||||
SetName(name string)
|
||||
SetSocket(socket WebSocket)
|
||||
SetPeer(peer Peer)
|
||||
|
@ -3,7 +3,6 @@ package types
|
||||
import "net/http"
|
||||
|
||||
type WebSocket interface {
|
||||
Address() string
|
||||
Send(v interface{}) error
|
||||
Destroy() error
|
||||
}
|
||||
|
Reference in New Issue
Block a user