Registry / config / philchia-agollo-v4

philchia-agollo-v4

JSON →
library4.1.5gogounverified

Apollo configuration center client for Go applications.

go get github.com/philchia/agollo/v4
INSTALL
IMPORT
SIG · PHILCHIA-AGOLLO-V4
P
philchia-agollo-v4
configgov4.1.5
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.

agollo
github.com/philchia/agollo/v4

Initializes an Apollo client and retrieves a configuration value.

package main import ( "fmt" agollo "github.com/philchia/agollo/v4" ) func main() { client := agollo.NewClient(&agollo.Conf{ AppID: "SampleApp", Cluster: "default", NameSpaceNames: []string{"application"}, MetaAddr: "http://localhost:8080", }) client.Start() val := client.GetString("key", agollo.WithDefault("default")) fmt.Println(val) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Amazon
1
Resources
philchia-agollo-v4 — go get philchia-agollo-v4 · libregistry