server: fix race

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-04-17 11:41:49 +03:00
parent 00439e23f3
commit fb4d747197
2 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import (
)
// DefaultServer default server
var DefaultServer Server = NewServer()
var DefaultServer = NewServer()
var (
// DefaultAddress will be used if no address passed, use secure localhost