Documentation ¶
Index ¶
- type Redis
- func (r *Redis) CacheGet(key string) (string, error)
- func (r *Redis) CacheSet(key, value string, ttl int32) error
- func (r *Redis) Close() error
- func (r *Redis) CounterGet(key string) (int64, error)
- func (r *Redis) CounterIncrement(key string, increment int64) (int64, error)
- func (r *Redis) FlagGet(key string) (bool, error)
- func (r *Redis) FlagSet(key string, value bool) error
- func (r *Redis) Flush() error
- func (r *Redis) KVDelete(key string) error
- func (r *Redis) KVGet(key string) (*kv.Value, error)
- func (r *Redis) KVPut(key string, value *kv.Value) error
- func (r *Redis) Name() string
- func (r *Redis) SetAdd(set, item string) ([]string, error)
- func (r *Redis) SetGet(set string) ([]string, error)
- func (r *Redis) SetRemove(set, item string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func NewRedisBackend ¶
func (*Redis) CounterIncrement ¶
Click to show internal directories.
Click to hide internal directories.