remove redundant fields

This commit is contained in:
Andy Wang 2020-04-06 20:51:21 +01:00
parent e8af6233c1
commit 8d375e3f9b
2 changed files with 2 additions and 3 deletions

View File

@ -10,6 +10,7 @@ import (
log "github.com/sirupsen/logrus"
)
// userPanel is used to authenticate new users and book keep active users
type userPanel struct {
Manager usermanager.UserManager

View File

@ -13,9 +13,7 @@ import (
"net/http"
)
type WebSocket struct {
requestPacket []byte
}
type WebSocket struct{}
func (WebSocket) String() string { return "WebSocket" }
func (WebSocket) HasRecordLayer() bool { return false }