Versions in this module Expand all Collapse all v1 v1.0.4 Apr 5, 2023 v1.0.3 Apr 4, 2023 Changes in this version + func NewClient(conf *Config) (*redis.ClusterClient, error) + func NewTLSConfig(clientCertFile, clientKeyFile, caCertFile string) (*tls.Config, error) + type Config struct + Addrs []string + DialTimeout time.Duration + IdleCheckFrequency time.Duration + IdleTimeout time.Duration + MaxConnAge time.Duration + MaxRetries int + MaxRetryBackoff time.Duration + MinIdleConns int + MinRetryBackoff time.Duration + Password string + PoolSize int + PoolTimeout time.Duration + ReadTimeout time.Duration + TLS *TLS + Username string + WriteTimeout time.Duration + type TLS struct + CACertFile string + ClientCertFile string