Documentation ¶
Index ¶
- type Option
- func WithAddr(addr string) Option
- func WithDB(db int) Option
- func WithDialer(dialer func(ctx context.Context, network, addr string) (net.Conn, error)) Option
- func WithPassword(password string) Option
- func WithReadTimeout(t time.Duration) Option
- func WithTLSConfig(t *tls.Config) Option
- func WithWriteTimeout(t time.Duration) Option
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *redis.Options)
func WithDialer ¶
func WithPassword ¶
func WithReadTimeout ¶
func WithTLSConfig ¶
func WithWriteTimeout ¶
Click to show internal directories.
Click to hide internal directories.