Skip to content

Commit

Permalink
Merge pull request #52 from olabiniV2/configuration_setting
Browse files Browse the repository at this point in the history
Make it possible to change configuration parameters on a server
  • Loading branch information
actown authored Apr 12, 2020
2 parents 00b8984 + 58f7768 commit f4d41de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/grumble/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit f4d41de

Please sign in to comment.