Documentation ¶
Index ¶
- func DropCacheKV(table string) error
- func DropCacheKVForRule(rule string) error
- func DropKV(table string) error
- func DropTS(table string) error
- func GetCacheKV(table string) (kv.KeyValue, error)
- func GetExtStateKV(table string) (kv.KeyValue, error)
- func GetKV(table string) (kv.KeyValue, error)
- func GetTS(table string) (kv.Tskv, error)
- func Setup(config definition.Config) error
- func SetupDefault(dataDir string) error
- func SetupWithConfig(sc *StoreConf) error
- type StoreConf
- type StoreCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropCacheKV ¶
func DropCacheKVForRule ¶
func Setup ¶
func Setup(config definition.Config) error
func SetupDefault ¶
func SetupWithConfig ¶
Types ¶
type StoreConf ¶
type StoreConf struct { Type string ExtStateType string RedisConfig definition.RedisConfig SqliteConfig definition.SqliteConfig FdbConfig definition.FdbConfig }
type StoreCreator ¶
type StoreCreator func(conf definition.Config, name string) (definition.StoreBuilder, definition.TsBuilder, error)
Click to show internal directories.
Click to hide internal directories.