ing
This commit is contained in:
parent
c96005a02d
commit
2ed09895ff
@ -24,8 +24,9 @@ type server struct {
|
||||
|
||||
func NewServer(o *Options) Server {
|
||||
s := &server{
|
||||
_option: o.Validate(),
|
||||
_clients: make(map[string]clients.Client, 100),
|
||||
_option: o.Validate(),
|
||||
_handlers: make(map[string]*clients.Options, 1),
|
||||
_clients: make(map[string]clients.Client, 100),
|
||||
}
|
||||
|
||||
s._upgrader = &websocket.Upgrader{
|
||||
|
Loading…
x
Reference in New Issue
Block a user