Documentation ¶
Index ¶
Constants ¶
View Source
const ( TsPrefix = "KV:TS" AddToSortedSet = "ZADD" ReversedRangeByScore = "ZREVRANGEBYSCORE" RemoveRangeByScore = "ZREMRANGEBYSCORE" Delete = "DEL" ReversedRange = "ZREVRANGE" )
View Source
const KvPrefix = "KV:STORE"
Variables ¶
This section is empty.
Functions ¶
func BuildStores ¶
func BuildStores(c definition.Config, _ string) (definition.StoreBuilder, definition.TsBuilder, error)
func NewRedisFromConf ¶
func NewRedisFromConf(c definition.Config) *redis.Client
Types ¶
type StoreBuilder ¶
type StoreBuilder struct {
// contains filtered or unexported fields
}
func NewStoreBuilder ¶
func NewStoreBuilder(redis *redis.Client) StoreBuilder
func (StoreBuilder) CreateStore ¶
func (b StoreBuilder) CreateStore(table string) (kv.KeyValue, error)
Click to show internal directories.
Click to hide internal directories.