remove utils.ConfigStore in favor of atomic.Pointer[T]

This commit is contained in:
Shivaram Lingamneni 2022-08-03 00:59:00 -04:00
parent de1be675f5
commit a99c8a42f9
3 changed files with 4 additions and 36 deletions

View file

@ -16,7 +16,7 @@ import (
)
func (server *Server) Config() (config *Config) {
return server.config.Get()
return server.config.Load()
}
func (server *Server) ChannelRegistrationEnabled() bool {