package
0.0.0-20230724101103-60d5921028af
Repository: https://github.com/tikv/mock-tikv.git
Documentation: pkg.go.dev

# Functions

NewHandler create s a HTTP handler for API.

# Constants

StoreStateOffline store is offline.
StoreStateTombstone store is set to tombstone state.
StoreStateUp store is up and running.

# Structs

Cluster contains all information about a mock tikv cluster.
Member contains information about a PD member.
Peer contains id of backing store.
Region records region setup for api usage.
RegionEpoch records epoch data of a region.
Store contains information about a store.

# Interfaces

Server defines public surface between internal implementation and api.

# Type aliases

StoreState contains state about a store.