Fix comments on Redis options

This commit is contained in:
Joel Speed 2019-05-16 17:03:38 +01:00
parent b791312bec
commit bae865f880
No known key found for this signature in database
GPG Key ID: 6E80578D6751DEFB

View File

@ -19,11 +19,11 @@ var CookieSessionStoreType = "cookie"
// CookieStoreOptions contains configuration options for the CookieSessionStore. // CookieStoreOptions contains configuration options for the CookieSessionStore.
type CookieStoreOptions struct{} type CookieStoreOptions struct{}
// RedisSessionStoreType is used to indicate the CookieSessionStore should be // RedisSessionStoreType is used to indicate the RedisSessionStore should be
// used for storing sessions. // used for storing sessions.
var RedisSessionStoreType = "redis" var RedisSessionStoreType = "redis"
// RedisStoreOptions contains configuration options for the CookieSessionStore. // RedisStoreOptions contains configuration options for the RedisSessionStore.
type RedisStoreOptions struct { type RedisStoreOptions struct {
RedisConnectionURL string `flag:"redis-connection-url" cfg:"redis_connection_url" env:"OAUTH2_PROXY_REDIS_CONNECTION_URL"` RedisConnectionURL string `flag:"redis-connection-url" cfg:"redis_connection_url" env:"OAUTH2_PROXY_REDIS_CONNECTION_URL"`
} }