definition

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Type         string
	ExtStateType string
	Redis        RedisConfig
	Sqlite       SqliteConfig
	Fdb          FdbConfig
}

type Database

type Database interface {
	Connect() error
	Disconnect() error
}

type FdbConfig

type FdbConfig struct {
	Path       string
	APIVersion int
	Timeout    int64
}

type RedisConfig

type RedisConfig struct {
	Host     string
	Port     int
	Password string
	Timeout  time.Duration
}

type SqliteConfig

type SqliteConfig struct {
	Path string
	Name string
}

type StoreBuilder

type StoreBuilder interface {
	CreateStore(table string) (kv.KeyValue, error)
}

type TsBuilder

type TsBuilder interface {
	CreateTs(table string) (kv.Tskv, error)
}

Jump to

Keyboard shortcuts

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