mock

package
v0.0.0-...-2aa8555 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MockAddr = "mocktikv://"

MockAddr default mock tikv addr

View Source
var Store kv.Storage

Functions

func MockKVStore

func MockKVStore(t *testing.T) kv.Storage

func MockKVTransaction

func MockKVTransaction(t *testing.T) kv.Transaction

func MockOpen

func MockOpen(addrs string) (kv.Storage, error)

MockOpen create fake tikv db

func MockQueue

func MockQueue() util.Queue

func MockRedis

func MockRedis() util.Redic

Types

This section is empty.

Jump to

Keyboard shortcuts

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