forked from External/grumble
Merge pull request #52 from olabiniV2/configuration_setting
Make it possible to change configuration parameters on a server
This commit is contained in:
commit
f4d41de536
1 changed files with 5 additions and 0 deletions
|
|
@ -1587,3 +1587,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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue