* move "controlLock" mutex to "config"

This commit is contained in:
Simon Zolin
2019-07-09 18:25:26 +03:00
parent d51f43e27a
commit 2682adca39
5 changed files with 9 additions and 11 deletions

View File

@@ -53,6 +53,7 @@ type configuration struct {
disableUpdate bool // If set, don't check for updates
appSignalChannel chan os.Signal
clients clientsContainer
controlLock sync.Mutex
BindHost string `yaml:"bind_host"` // BindHost is the IP address of the HTTP server to bind to
BindPort int `yaml:"bind_port"` // BindPort is the port the HTTP server