summaryrefslogtreecommitdiff
path: root/plugins/server/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-05 00:18:44 +0300
committerValery Piashchynski <[email protected]>2021-01-05 00:18:44 +0300
commit877b0ed461c7d5e1de87b7561f414aeb236cf3ec (patch)
tree2afdf6fa505f91043e4f22bfc7229d691e3da1d5 /plugins/server/config.go
parent984953a9db1d94817bda2e3d9266583151b1b437 (diff)
Add dput.cf file for the ubuntu launchpad
Add a lot of comments to the exported functions
Diffstat (limited to 'plugins/server/config.go')
-rw-r--r--plugins/server/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/server/config.go b/plugins/server/config.go
index 4bef3c5f..2bf30e70 100644
--- a/plugins/server/config.go
+++ b/plugins/server/config.go
@@ -28,6 +28,7 @@ type Config struct {
RelayTimeout time.Duration
}
+// InitDefaults for the server config
func (cfg *Config) InitDefaults() {
if cfg.Relay == "" {
cfg.Relay = "pipes"