passBasicAuth=flag.Bool("pass-basic-auth",true,"pass HTTP Basic Auth information to upstream")
htpasswdFile=flag.String("htpasswd-file","","additionally authenticate against a htpasswd file. Entries must be created with \"htpasswd -s\" for SHA encryption")
cookieSecret=flag.String("cookie-secret","","the seed string for secure cookies")
cookieDomain=flag.String("cookie-domain","","an optional cookie domain to force cookies to")
googleAppsDomain=flag.String("google-apps-domain","","authenticate against the given google apps domain")
authenticatedEmailsFile=flag.String("authenticated-emails-file","","authenticate against emails via file (one per line)")
upstreams=StringArray{}
)
funcinit(){
flag.Var(&upstreams,"upstream","the http url(s) of the upstream endpoint. If multiple, routing is based on path")