summaryrefslogtreecommitdiff
path: root/plugins/server/config.go
diff options
context:
space:
mode:
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"