store

package
v0.0.0-...-e47cf43 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RaftStateKey      = "raft.state"
	RaftStateTermKey  = "term"
	RaftStateIndexKey = "index"
	DBIndexKey        = "db.index"
)
View Source
const (
	LoadLUAScript = `
redis.call('select', '%d')
%s
`
	SaveLUAScript = `` /* 132-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func NewRedisDB

func NewRedisDB(host string, port, metadataDB uint, statsCli stats.Client) (*redisStore, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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