Documentation ¶ Index ¶ func New(conf Config) (*vredis.Client, error) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(conf Config) (*vredis.Client, error) New redis instance Types ¶ type Config ¶ type Config struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` Password string `mapstructure:"password"` DB int `mapstructure:"db"` } Source Files ¶ View all Source files redis.go Click to show internal directories. Click to hide internal directories.