tidb: github.com/pingcap/tidb/store Index | Files | Directories

package store

import "github.com/pingcap/tidb/store"

Index

Package Files

store.go

func New Uses

func New(path string) (kv.Storage, error)

New creates a kv Storage with path.

The path must be a URL format 'engine://path?params' like the one for session.Open() but with the dbname cut off. Examples:

goleveldb://relative/path
boltdb:///absolute/path

The engine should be registered before creating storage.

func Register Uses

func Register(name string, driver kv.Driver) error

Register registers a kv storage with unique name and its associated Driver.

Directories

PathSynopsis
helper
mockoracle
mockstore
mockstore/mocktikv
tikvPackage tikv provides tcp connection to kvserver.
tikv/gcworker
tikv/latch
tikv/oracle
tikv/oracle/oracles
tikv/tikvrpc

Package store imports 7 packages (graph) and is imported by 2 packages. Updated 2019-09-19. Refresh now. Tools for package owners.