add basic synchronization using mutex

This commit is contained in:
2025-02-11 07:11:05 +00:00
parent fdcab0a20a
commit b86034ae8f
5 changed files with 158 additions and 68 deletions

View File

@@ -19,6 +19,7 @@ type Config struct {
Secret string `json:"uuid"`
}
}
ReloadInterval int `json:"reloadInterval"`
}
func GetConfig(configPath string) Config {