package
2.0.7
Repository: https://github.com/tikv/client-go.git
Documentation: pkg.go.dev

# Functions

NewClient creates a client with PD cluster addrs.
NewClientWithOpts creates a client with PD cluster addrs and client options.
ScanKeyOnly is a rawkvOptions that tells the scanner to only returns keys and omit the values.
SetColumnFamily is a RawkvOption to only manipulate the k-v in specified column family.
WithAPIVersion is used to set the api version.
WithGRPCDialOptions is used to set the grpc.DialOption.
WithKeyspace is used to set the keyspace Name.
WithPDOptions is used to set the pd.ClientOption.
WithSecurity is used to set the config.Security.

# Variables

ErrMaxScanLimitExceeded is returned when the limit for rawkv Scan is to large.
MaxRawKVScanLimit is the maximum scan limit for rawkv Scan.

# Structs

Client is a client of TiKV server which is used as a key-value storage, only GET/PUT/DELETE commands are supported.
ClientProbe wraps RawKVClient and exposes internal states for testing purpose.
ConfigProbe exposes configurations and global variables for testing purpose.
RawChecksum represents the checksum result of raw kv pairs in TiKV cluster.

# Interfaces

RawOption represents possible options that can be cotrolled by the user to tweak the API behavior.

# Type aliases

ClientOpt is factory to set the client options.