store

package
v2.0.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DropCacheKV

func DropCacheKV(table string) error

func DropCacheKVForRule

func DropCacheKVForRule(rule string) error

func DropKV

func DropKV(table string) error

func DropTS

func DropTS(table string) error

func GetCacheKV

func GetCacheKV(table string) (kv.KeyValue, error)

func GetExtStateKV

func GetExtStateKV(table string) (kv.KeyValue, error)

func GetKV

func GetKV(table string) (kv.KeyValue, error)

func GetTS

func GetTS(table string) (kv.Tskv, error)

func Setup

func Setup(config definition.Config) error

func SetupDefault

func SetupDefault(dataDir string) error

func SetupWithConfig

func SetupWithConfig(sc *StoreConf) error

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)

Directories

Path Synopsis
sql
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL