package
Version:
v3.44.1
Opens a new window with list of versions in this module.
Published: Apr 15, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConfigDocs returns a documentation field spec for fields within a Config.
type Config struct {
URL string `json:"url" yaml:"url"`
Kind string `json:"kind" yaml:"kind"`
Master string `json:"master" yaml:"master"`
TLS btls.Config `json:"tls" yaml:"tls"`
}
Config is a config struct for a redis connection.
NewConfig returns a Config with default values.
func (r Config) Client() (redis.UniversalClient, error)
Client returns a new redis client based on the configuration parameters.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.