Documentation ¶
Index ¶
- type Invalidator
- func (c *Invalidator) AtomicWrite() keyvaluestore.AtomicWriteOperation
- func (c *Invalidator) Batch() keyvaluestore.BatchOperation
- func (c *Invalidator) Delete(key string) (success bool, err error)
- func (c *Invalidator) Get(key string) (*string, error)
- func (c *Invalidator) HDel(key, field string, fields ...string) error
- func (c *Invalidator) HGet(key, field string) (*string, error)
- func (c *Invalidator) HGetAll(key string) (map[string]string, error)
- func (c *Invalidator) HSet(key, field string, value interface{}, fields ...keyvaluestore.KeyValue) error
- func (c *Invalidator) NIncrBy(key string, n int64) (int64, error)
- func (c *Invalidator) SAdd(key string, member interface{}, members ...interface{}) error
- func (c *Invalidator) SMembers(key string) ([]string, error)
- func (c *Invalidator) SRem(key string, member interface{}, members ...interface{}) error
- func (c *Invalidator) Set(key string, value interface{}) error
- func (c *Invalidator) SetEQ(key string, value, oldValue interface{}) (bool, error)
- func (c *Invalidator) SetNX(key string, value interface{}) (bool, error)
- func (c *Invalidator) SetXX(key string, value interface{}) (bool, error)
- func (c *Invalidator) Unwrap() keyvaluestore.Backend
- func (c Invalidator) WithEventuallyConsistentReads() keyvaluestore.Backend
- func (c Invalidator) WithProfiler(profiler interface{}) keyvaluestore.Backend
- func (c *Invalidator) ZAdd(key string, member interface{}, score float64) error
- func (c *Invalidator) ZCount(key string, min, max float64) (int, error)
- func (c *Invalidator) ZHAdd(key, field string, member interface{}, score float64) error
- func (c *Invalidator) ZHGet(key, field string) (*string, error)
- func (c *Invalidator) ZHRangeByLex(key string, min, max string, limit int) ([]string, error)
- func (c *Invalidator) ZHRangeByScore(key string, min, max float64, limit int) ([]string, error)
- func (c *Invalidator) ZHRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
- func (c *Invalidator) ZHRem(key, field string) error
- func (c *Invalidator) ZHRevRangeByLex(key string, min, max string, limit int) ([]string, error)
- func (c *Invalidator) ZHRevRangeByScore(key string, min, max float64, limit int) ([]string, error)
- func (c *Invalidator) ZHRevRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
- func (c *Invalidator) ZIncrBy(key string, member interface{}, n float64) (float64, error)
- func (c *Invalidator) ZLexCount(key string, min, max string) (int, error)
- func (c *Invalidator) ZRangeByLex(key string, min, max string, limit int) ([]string, error)
- func (c *Invalidator) ZRangeByScore(key string, min, max float64, limit int) ([]string, error)
- func (c *Invalidator) ZRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
- func (c *Invalidator) ZRem(key string, member interface{}) error
- func (c *Invalidator) ZRevRangeByLex(key string, min, max string, limit int) ([]string, error)
- func (c *Invalidator) ZRevRangeByScore(key string, min, max float64, limit int) ([]string, error)
- func (c *Invalidator) ZRevRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
- func (c *Invalidator) ZScore(key string, member interface{}) (*float64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invalidator ¶
type Invalidator struct { Backend keyvaluestore.Backend Invalidate func(key string) }
Invalidate passes operations through to an underlying backend and invokes a specified function for keys that may have been impacted as a result.
func (*Invalidator) AtomicWrite ¶
func (c *Invalidator) AtomicWrite() keyvaluestore.AtomicWriteOperation
func (*Invalidator) Batch ¶
func (c *Invalidator) Batch() keyvaluestore.BatchOperation
func (*Invalidator) HSet ¶
func (c *Invalidator) HSet(key, field string, value interface{}, fields ...keyvaluestore.KeyValue) error
func (*Invalidator) SAdd ¶
func (c *Invalidator) SAdd(key string, member interface{}, members ...interface{}) error
func (*Invalidator) SRem ¶
func (c *Invalidator) SRem(key string, member interface{}, members ...interface{}) error
func (*Invalidator) Set ¶
func (c *Invalidator) Set(key string, value interface{}) error
func (*Invalidator) SetEQ ¶
func (c *Invalidator) SetEQ(key string, value, oldValue interface{}) (bool, error)
func (*Invalidator) SetNX ¶
func (c *Invalidator) SetNX(key string, value interface{}) (bool, error)
func (*Invalidator) SetXX ¶
func (c *Invalidator) SetXX(key string, value interface{}) (bool, error)
func (*Invalidator) Unwrap ¶
func (c *Invalidator) Unwrap() keyvaluestore.Backend
func (Invalidator) WithEventuallyConsistentReads ¶
func (c Invalidator) WithEventuallyConsistentReads() keyvaluestore.Backend
func (Invalidator) WithProfiler ¶
func (c Invalidator) WithProfiler(profiler interface{}) keyvaluestore.Backend
func (*Invalidator) ZAdd ¶
func (c *Invalidator) ZAdd(key string, member interface{}, score float64) error
func (*Invalidator) ZCount ¶
func (c *Invalidator) ZCount(key string, min, max float64) (int, error)
func (*Invalidator) ZHAdd ¶
func (c *Invalidator) ZHAdd(key, field string, member interface{}, score float64) error
func (*Invalidator) ZHRangeByLex ¶
func (*Invalidator) ZHRangeByScore ¶
func (*Invalidator) ZHRangeByScoreWithScores ¶
func (c *Invalidator) ZHRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
func (*Invalidator) ZHRem ¶
func (c *Invalidator) ZHRem(key, field string) error
func (*Invalidator) ZHRevRangeByLex ¶
func (*Invalidator) ZHRevRangeByScore ¶
func (*Invalidator) ZHRevRangeByScoreWithScores ¶
func (c *Invalidator) ZHRevRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
func (*Invalidator) ZIncrBy ¶
func (c *Invalidator) ZIncrBy(key string, member interface{}, n float64) (float64, error)
func (*Invalidator) ZLexCount ¶
func (c *Invalidator) ZLexCount(key string, min, max string) (int, error)
func (*Invalidator) ZRangeByLex ¶
func (*Invalidator) ZRangeByScore ¶
func (*Invalidator) ZRangeByScoreWithScores ¶
func (c *Invalidator) ZRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
func (*Invalidator) ZRem ¶
func (c *Invalidator) ZRem(key string, member interface{}) error
func (*Invalidator) ZRevRangeByLex ¶
func (*Invalidator) ZRevRangeByScore ¶
func (*Invalidator) ZRevRangeByScoreWithScores ¶
func (c *Invalidator) ZRevRangeByScoreWithScores(key string, min, max float64, limit int) (keyvaluestore.ScoredMembers, error)
Click to show internal directories.
Click to hide internal directories.