mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-18 05:28:11 -07:00
remove utils.ConfigStore in favor of atomic.Pointer[T]
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
func (server *Server) Config() (config *Config) {
|
||||
return server.config.Get()
|
||||
return server.config.Load()
|
||||
}
|
||||
|
||||
func (server *Server) ChannelRegistrationEnabled() bool {
|
||||
|
||||
Reference in New Issue
Block a user