cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Host is the PD host address.
	Host string
	// Port is the PD port.
	Port string
	// Mode is the client mode: raw/txn
	Mode string
	// APIVersion is the API version: v1/v1ttl/v2
	APIVersion string
	// Debug determines whether to enable logging in tikv/client-go.
	Debug bool
)
View Source
var (
	ErrNotExist            = errors.New("(nil)")
	ErrInvalidArgs         = errors.New("(error) ERR wrong number of arguments for command")
	ErrCommandNotSupported = errors.New("(error) ERR txn mode doesn't support command")
)
View Source
var Version string

Version can be set the version info from the -ldflags when building

Functions

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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