tikv

package
v0.0.0-...-0777535 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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Delall

func Delall(startKey []byte, limit int) error

Delall

func Dels

func Dels(keys ...[]byte) error

Dels

func Get

func Get(k []byte) (kv, error)

Get

func Init

func Init(pdhosts []string, caCertFile string, certFile string, keyFile string)

Init initializes the global TiKV client connection.

Multiple PD servers can be specified to support automatic failover.

caCertFile, certFile and keyFile are required when the TiKV/PD cluster is TLS enabled. A regular unencrypted connection is created if they are empty.

func Puts

func Puts(args ...[]byte) error

Puts

func Scan

func Scan(startKey []byte, limit int) ([]kv, error)

Scan

Types

This section is empty.

Jump to

Keyboard shortcuts

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