Registry / config / edgexfoundry-go-mod-configuration-v2

edgexfoundry-go-mod-configuration-v2

JSON →
library2.3.0gogounverified

Provides configuration management for EdgeX Foundry microservices, supporting various providers like Consul and file-based config.

go get github.com/edgexfoundry/go-mod-configuration/v2
INSTALL
IMPORT
SIG · EDGEXFOUNDRY-GO-MO
E
edgexfoundry-go-mod-configuration-v2
configgov2.3.0
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.

configuration
github.com/edgexfoundry/go-mod-configuration/v2

Minimal example creating a configuration client for Consul.

package main import ( "fmt" "github.com/edgexfoundry/go-mod-configuration/v2" ) func main() { // Example: create a configuration client client, err := configuration.NewConfigurationClient("consul", "http://localhost:8500", "my-service") if err != nil { fmt.Println(err) return } fmt.Println(client) }
Debug
Known issues
breakingVersion v2 is designed for EdgeX Ireland release and later; may not be compatible with older versions.
fix
Use v1 for older EdgeX releases (e.g., Geneva).
affects: >=2.0.0
Upgrade
Version history
2.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
edgexfoundry-go-mod-configuration-v2 — go get edgexfoundry-go-mod-configuration-v2 · libregistry