Fix comments on Redis options
This commit is contained in:
parent
7a1fc52e33
commit
130d03758d
@ -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"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user