Registry / database / tikv-pd-client

tikv-pd-client

JSON →
librarygogounverified

Package client provides a Go client for interacting with TiKV's Placement Driver (PD).

go get github.com/tikv/pd/client
INSTALL
IMPORT
SIG · TIKV-PD-CLIENT
T
tikv-pd-client
databasego
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

client
github.com/tikv/pd/client

Create a new PD client

package main import ( "context" "fmt" "github.com/tikv/pd/client" ) func main() { pdClient, _ := client.NewClient(context.TODO(), []string{"http://127.0.0.1:2379"}, client.SecurityOption{}) defer pdClient.Close() fmt.Println(pdClient) }
Debug
Known issues
gotchaRequires running TiKV/PD cluster
fix
Ensure PD endpoints are accessible and cluster is healthy
affects: all
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
14
Meta
1
Amazon
1
OpenAI (training)
1
Resources
tikv-pd-client — go get tikv-pd-client · libregistry