Versions in this module Expand all Collapse all v3 v3.2.1 Oct 30, 2024 Changes in this version type Options + ConnMaxIdleTime time.Duration v3.1.0 Dec 10, 2021 Changes in this version + func NewRedisClusterStore(opts *ClusterOptions, prefix ...string) session.ManagerStore + func NewRedisClusterStoreWithCli(cli *redis.ClusterClient, prefix ...string) session.ManagerStore + func NewRedisStore(opts *Options, prefix ...string) session.ManagerStore + func NewRedisStoreWithCli(cli *redis.Client, prefix ...string) session.ManagerStore + type ClusterOptions struct + Addrs []string + DialTimeout time.Duration + IdleCheckFrequency time.Duration + IdleTimeout time.Duration + MaxRedirects int + MaxRetries int + MaxRetryBackoff time.Duration + MinRetryBackoff time.Duration + OnConnect func(ctx context.Context, cn *redis.Conn) error + Password string + PoolSize int + PoolTimeout time.Duration + ReadOnly bool + ReadTimeout time.Duration + RouteByLatency bool + RouteRandomly bool + WriteTimeout time.Duration + type Options struct + Addr string + DB int + DialTimeout time.Duration + Dialer func(ctx context.Context, network, addr string) (net.Conn, error) + IdleCheckFrequency time.Duration + IdleTimeout time.Duration + MaxRetries int + MaxRetryBackoff time.Duration + MinRetryBackoff time.Duration + Network string + Password string + PoolSize int + PoolTimeout time.Duration + ReadTimeout time.Duration + TLSConfig *tls.Config + WriteTimeout time.Duration Other modules containing this package github.com/go-session/redis