Documentation
¶
Index ¶
- func NewRedisValidationClient(address string) (datastore.ValidationDataStoreOperations, error)
- func SetRedisClient(client *goredis.Client, redisClient *RedisClient) error
- type RedisClient
- func (rc *RedisClient) AddDataLifetime(key string, endTime string) (*datastore.LifetimeCache, error)
- func (rc *RedisClient) AddSuccessorDataLifetimeCustomResource(key string, successor string) error
- func (rc *RedisClient) Close() error
- func (rc *RedisClient) DeleteDataLifetime(key string) error
- func (rc *RedisClient) DeleteSuccessorDataLifetimeCustomResource(key string, successor string) error
- func (rc *RedisClient) GetDataLifetime(key string) (*datastore.LifetimeCache, error)
- func (rc *RedisClient) GetDataLifetimeKeys() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRedisValidationClient ¶
func NewRedisValidationClient( address string) (datastore.ValidationDataStoreOperations, error)
func SetRedisClient ¶
func SetRedisClient(client *goredis.Client, redisClient *RedisClient) error
Types ¶
type RedisClient ¶
type RedisClient struct {
// contains filtered or unexported fields
}
func (*RedisClient) AddDataLifetime ¶
func (rc *RedisClient) AddDataLifetime( key string, endTime string) (*datastore.LifetimeCache, error)
func (*RedisClient) AddSuccessorDataLifetimeCustomResource ¶
func (rc *RedisClient) AddSuccessorDataLifetimeCustomResource( key string, successor string) error
func (*RedisClient) Close ¶
func (rc *RedisClient) Close() error
func (*RedisClient) DeleteDataLifetime ¶
func (rc *RedisClient) DeleteDataLifetime(key string) error
func (*RedisClient) DeleteSuccessorDataLifetimeCustomResource ¶
func (rc *RedisClient) DeleteSuccessorDataLifetimeCustomResource( key string, successor string) error
func (*RedisClient) GetDataLifetime ¶
func (rc *RedisClient) GetDataLifetime( key string) (*datastore.LifetimeCache, error)
func (*RedisClient) GetDataLifetimeKeys ¶
func (rc *RedisClient) GetDataLifetimeKeys() ([]string, error)
Click to show internal directories.
Click to hide internal directories.