Documentation
¶
Overview ¶
Package redis abstracts Redis or a key-value database implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ConnectionString string // if this field is non empty then other fields will be ignore when building connection string Host string Port int Database int User string Pass string PoolSize int IdleTimeout int ReadTimeout int WriteTimeout int MinIdleConns int InsecureSkipVerify bool TLS bool }
Config redis for redis server
func (*Config) ParseConfig ¶
ParseConfig return redis config from connection string
Click to show internal directories.
Click to hide internal directories.