summaryrefslogtreecommitdiff
path: root/app/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/config.go')
-rw-r--r--app/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/config.go b/app/config.go
index 2ffd0cb..2cb2d92 100644
--- a/app/config.go
+++ b/app/config.go
@@ -21,6 +21,7 @@ type Config struct {
21 OauthDevicePollSecs int `flag:"oauth-device-poll-secs" flag-scope:"web" flag-help:"Number of seconds between polls for oauth device flow"` 21 OauthDevicePollSecs int `flag:"oauth-device-poll-secs" flag-scope:"web" flag-help:"Number of seconds between polls for oauth device flow"`
22 OauthSessionTimeout time.Duration `flag:"oauth-session-timelut" flag-scope:"web" flag-help:"Timeout before oauth session expires"` 22 OauthSessionTimeout time.Duration `flag:"oauth-session-timelut" flag-scope:"web" flag-help:"Timeout before oauth session expires"`
23 InviteTimeout time.Duration `flag:"invite-timeout" flag-scope:"register" flag-help:"Timeout before inivitation code expires"` 23 InviteTimeout time.Duration `flag:"invite-timeout" flag-scope:"register" flag-help:"Timeout before inivitation code expires"`
24 ClientHost string `flag:"client-proxy-host" flag-scope:"client" flag-help:"Hostname and port for proxy"`
24} 25}
25 26
26var DefaultConfig = &Config{ 27var DefaultConfig = &Config{
@@ -42,4 +43,5 @@ var DefaultConfig = &Config{
42 OauthDevicePollSecs: 5, 43 OauthDevicePollSecs: 5,
43 OauthSessionTimeout: 5 * time.Minute, 44 OauthSessionTimeout: 5 * time.Minute,
44 InviteTimeout: 1 * time.Hour, 45 InviteTimeout: 1 * time.Hour,
46 ClientHost: "ssh-proxy.crute.me",
45} 47}