diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-08-16 21:48:13 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-08-16 21:58:28 +0100 |
commit | f52e26a6bf532da05f732ee7a6f0fcd6127e3a15 (patch) | |
tree | 98de1ca84170c87e9be29317f5d6c8673346ea5c /server/config/config.go | |
parent | 6bad2d072333e1b6574dc206c4019130e9a89e88 (diff) |
Allow selecting which ip to listen on
Diffstat (limited to 'server/config/config.go')
-rw-r--r-- | server/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
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"` |