Documentation ¶
Index ¶
- func NewOptions(config Config) (opt *redis.Options, err error)
- type Config
- type Redis
- func (r Redis) Close() error
- func (r Redis) HGetAll(key string) (map[string]string, error)
- func (r Redis) HSet(key, field string, value interface{}) error
- func (r Redis) ZAdd(key string, member string, score float64) error
- func (r Redis) ZCount(key, min, max string) (int64, error)
- func (r Redis) ZIncrBy(key string, increment float64, member string) error
- func (r Redis) ZRange(key string, start, stop int64) ([]*controller.Company, error)
- func (r Redis) ZRevRange(key string, start, stop int64) ([]*controller.Company, error)
- func (r Redis) ZScore(key, member string) (float64, error)
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.