Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CacheConfig ¶
type Config ¶
type Config struct { Cache CacheConfig `mapstructure:"cache"` Prefix string Redis RedisConfig `mapstructure:"redis"` RedisCluster RedisClusterConfig `mapstructure:"redis-cluster"` RedisRoundRobin RedisRoundRobinConfig `mapstructure:"redis-roundrobin"` Type string }
Config is a struct to represent a key/value store (redis, cache)
type RedisClusterConfig ¶
type RedisConfig ¶
func (RedisConfig) Addr ¶
func (r RedisConfig) Addr() string
type RedisRoundRobinConfig ¶
type Store ¶
type Store gokvstores.KVStore
Click to show internal directories.
Click to hide internal directories.