add basic synchronization using mutex
This commit is contained in:
1 parent
fdcab0a20a
commit
b86034ae8f
5 files changed
+158
-68
No files matched your search
@@ -19,6 +19,7 @@ type Config struct {
|
||||
Secret string `json:"uuid"`
|
||||
}
|
||||
}
|
||||
ReloadInterval int `json:"reloadInterval"`
|
||||
}
|
||||
|
||||
func GetConfig(configPath string) Config {
|
||||
|
||||
Reference in new issue
Block a user