data

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadgerConnName string
	BadgerKey      = binding.NewString()
	BadgerValue    = binding.NewString()
	BadgerKeys     = binding.NewStringList()
)
View Source
var (
	LevelDBConnName string
	LevelDBKey      = binding.NewString()
	LevelDBValue    = binding.NewString()
	LevelDBKeys     = binding.NewStringList()
)
View Source
var (
	RedisConnAuth string
	RedisConnName string

	RedisKey    = binding.NewString()
	RedisValue  = binding.NewString()
	RedisCount  = binding.NewString()
	RedisClient = binding.NewString()
	RedisMemory = binding.NewString()
	RedisKeys   = binding.NewStringList()
)

Functions

func CloseBadgerConnection added in v0.0.6

func CloseBadgerConnection()

func CloseLevelDBConnection added in v0.0.6

func CloseLevelDBConnection()

func CloseRedisConnection added in v0.0.6

func CloseRedisConnection()

func DeleteBadgerValuesByKey added in v0.0.6

func DeleteBadgerValuesByKey(key string)

func DeleteLevelDBValuesByKey added in v0.0.5

func DeleteLevelDBValuesByKey(key string)

func DeleteRedisValuesByKey added in v0.0.5

func DeleteRedisValuesByKey(key string)

func NewBadgerConn added in v0.0.6

func NewBadgerConn(uri string)

func NewLevelDBConn added in v0.0.4

func NewLevelDBConn(uri string)

func NewRedisConn added in v0.0.2

func NewRedisConn(host string, port string, auth string)

func RefreshBadgerKeyLists added in v0.0.6

func RefreshBadgerKeyLists()

func RefreshLevelDBKeyLists added in v0.0.5

func RefreshLevelDBKeyLists()

func RefreshRedisKeyLists added in v0.0.5

func RefreshRedisKeyLists()

func SaveBadgerValuesByKeyAndValue added in v0.0.6

func SaveBadgerValuesByKeyAndValue(key string, value string)

func SaveLevelDBValuesByKeyAndValue added in v0.0.5

func SaveLevelDBValuesByKeyAndValue(key string, value string)

func SaveRedisValuesByKeyAndValue added in v0.0.5

func SaveRedisValuesByKeyAndValue(key string, value string)

func SetBadgerValuesByKey added in v0.0.6

func SetBadgerValuesByKey(key string)

func SetBadgerValuesByKeyId added in v0.0.6

func SetBadgerValuesByKeyId(id int)

func SetLevelDBValuesByKey added in v0.0.5

func SetLevelDBValuesByKey(key string)

func SetLevelDBValuesByKeyId added in v0.0.5

func SetLevelDBValuesByKeyId(id int)

func SetRedisValuesByKey added in v0.0.5

func SetRedisValuesByKey(key string)

func SetRedisValuesByKeyId added in v0.0.5

func SetRedisValuesByKeyId(id int)

func SwitchDB added in v0.0.3

func SwitchDB(index int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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