diff options
author | Wolfy-J <[email protected]> | 2018-06-06 15:55:28 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 15:55:28 +0300 |
commit | e863c6cdcf7c318fb251e096bf92812ed98ea03c (patch) | |
tree | 9eb2cd049dfae0482211a6a212d28cc48304f109 /config.go | |
parent | 67b88c9914d922314ce7cd8d3624d64812647758 (diff) |
better server re-configuration
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ type Config struct { DestroyTimeout time.Duration } -// Configure returns error if cfg not valid +// Reconfigure returns error if cfg not valid func (cfg *Config) Valid() error { if cfg.NumWorkers == 0 { return fmt.Errorf("cfg.NumWorkers must be set") |