From f52e26a6bf532da05f732ee7a6f0fcd6127e3a15 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Tue, 16 Aug 2016 21:48:13 +0100 Subject: Allow selecting which ip to listen on --- server/config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'server/config/config.go') diff --git a/server/config/config.go b/server/config/config.go index 107ebcc..dc5e0c5 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -29,6 +29,7 @@ type Server struct { UseTLS bool `mapstructure:"use_tls"` TLSKey string `mapstructure:"tls_key"` TLSCert string `mapstructure:"tls_cert"` + Addr string `mapstructure:"address"` Port int `mapstructure:"port"` CookieSecret string `mapstructure:"cookie_secret"` CSRFSecret string `mapstructure:"csrf_secret"` -- cgit v1.2.3