Documentation
¶
Index ¶
- func NewFactory(config config.BackendConfig) backend.ConfigBackendFactory
- type ConfigBackendRedis
- func (b ConfigBackendRedis) Check() error
- func (b ConfigBackendRedis) Close()
- func (b ConfigBackendRedis) DeleteKey(key string) error
- func (b ConfigBackendRedis) Exists(key string) (bool, error)
- func (b ConfigBackendRedis) GetHash(key string) (map[string]string, error)
- func (b ConfigBackendRedis) GetHashField(key string, field string) (string, error)
- func (b ConfigBackendRedis) GetList(key string) ([]string, error)
- func (b ConfigBackendRedis) GetListIndex(key string, index int64) (string, error)
- func (b ConfigBackendRedis) GetString(key string) (string, error)
- func (b ConfigBackendRedis) GetType(key string) (int, error)
- func (b ConfigBackendRedis) HashFieldExists(key string, field string) (bool, error)
- func (b ConfigBackendRedis) ListAppend(key string, value string) error
- func (b ConfigBackendRedis) ListIndexExists(key string, index int64) (bool, error)
- func (b ConfigBackendRedis) ListKeys(filter string) ([]string, error)
- func (b ConfigBackendRedis) SetHash(key string, value map[string]string) error
- func (b ConfigBackendRedis) SetHashField(key string, field string, value string) error
- func (b ConfigBackendRedis) SetList(key string, value []string) error
- func (b ConfigBackendRedis) SetString(key string, value string) error
- type ConfigBackendRedisFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory(config config.BackendConfig) backend.ConfigBackendFactory
Types ¶
type ConfigBackendRedis ¶
func (ConfigBackendRedis) Check ¶
func (b ConfigBackendRedis) Check() error
func (ConfigBackendRedis) Close ¶
func (b ConfigBackendRedis) Close()
func (ConfigBackendRedis) DeleteKey ¶
func (b ConfigBackendRedis) DeleteKey(key string) error
func (ConfigBackendRedis) GetHash ¶
func (b ConfigBackendRedis) GetHash(key string) (map[string]string, error)
func (ConfigBackendRedis) GetHashField ¶
func (b ConfigBackendRedis) GetHashField(key string, field string) (string, error)
func (ConfigBackendRedis) GetList ¶
func (b ConfigBackendRedis) GetList(key string) ([]string, error)
func (ConfigBackendRedis) GetListIndex ¶
func (b ConfigBackendRedis) GetListIndex(key string, index int64) (string, error)
func (ConfigBackendRedis) GetString ¶
func (b ConfigBackendRedis) GetString(key string) (string, error)
func (ConfigBackendRedis) HashFieldExists ¶
func (b ConfigBackendRedis) HashFieldExists(key string, field string) (bool, error)
func (ConfigBackendRedis) ListAppend ¶
func (b ConfigBackendRedis) ListAppend(key string, value string) error
func (ConfigBackendRedis) ListIndexExists ¶
func (b ConfigBackendRedis) ListIndexExists(key string, index int64) (bool, error)
func (ConfigBackendRedis) ListKeys ¶
func (b ConfigBackendRedis) ListKeys(filter string) ([]string, error)
func (ConfigBackendRedis) SetHash ¶
func (b ConfigBackendRedis) SetHash(key string, value map[string]string) error
func (ConfigBackendRedis) SetHashField ¶
func (b ConfigBackendRedis) SetHashField(key string, field string, value string) error
type ConfigBackendRedisFactory ¶
func (*ConfigBackendRedisFactory) NewBackend ¶
func (f *ConfigBackendRedisFactory) NewBackend() backend.ConfigBackend
Click to show internal directories.
Click to hide internal directories.