Registry / networking / hashicorp-consul

hashicorp-consul

JSON →
library1.22.7gogounverified

Consul is a distributed service mesh and service discovery tool for connecting and securing services across platforms.

go get github.com/hashicorp/consul
INSTALL
IMPORT
SIG · HASHICORP-CONSUL
H
hashicorp-consul
networkinggov1.22.7
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.

consul
github.com/hashicorp/consul

Retrieves a key-value pair from Consul's KV store.

import "github.com/hashicorp/consul/api" func main() { client, _ := api.NewClient(api.DefaultConfig()) kv := client.KV() pair, _, _ := kv.Get("mykey", nil) println(string(pair.Value)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.22.7latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hashicorp-consul — go get hashicorp-consul · libregistry