Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStateStore ¶
type RedisStateStore struct { Client *redis.Client IDGenerator utils.IDGenerator Prefix string }
RedisStateStore is a redis backed implementation of StateStore
func (*RedisStateStore) Del ¶
func (r *RedisStateStore) Del(key string) (bool, error)
Del removes the given key returns true if a key was removed.
func (*RedisStateStore) Exists ¶
func (r *RedisStateStore) Exists(key string) (bool, error)
Exists checks whether the given key exists in cache
Click to show internal directories.
Click to hide internal directories.