zookeeper

package
v0.0.0-...-5ea66d8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Name is the name of this kvdb implementation
	Name = "zookeeper-kv"
	// SOH control character
	SOH = "\x01"
)

Variables

This section is empty.

Functions

func New

func New(
	domain string,
	servers []string,
	options map[string]string,
	fatalErrorCb kvdb.FatalErrorCB,
) (kvdb.Kvdb, error)

New constructs a new kvdb.Kvdb with zookeeper implementation

func Version

func Version(url string, kvdbOptions map[string]string) (string, error)

Version returns the supported version of the zookeeper implementation

Types

type LockerIDInfo

type LockerIDInfo struct {
	LockerID string
}

LockerIDInfo id of locker

Jump to

Keyboard shortcuts

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