Make it possible to change configuration parameters on a server

This commit is contained in:
Ola Bini 2020-03-25 19:49:19 +00:00
parent bbb589fb37
commit 58f77685e7
No known key found for this signature in database
GPG key ID: 6786A150F6A2B28F

View file

@ -1562,3 +1562,8 @@ func (server *Server) Stop() (err error) {
return nil
}
// Set will set a configuration value
func (server *Server) Set(key string, value string) {
server.cfg.Set(key, value)
}