- Multiple namespace support
- Fail tolerant
- Zero dependency
required go 1.9 or later
go get -u github.com/philchia/agollo
agollo.Start()
agollo.StartWithConfFile(name)
events := agollo.WatchUpdate()
changeEvent := <-event
bytes, _ := json.Marshal(changeEvent)
fmt.Println("event:", string(bytes))
agollo.GetStringValue(Key, defaultValue)
agollo.GetStringValueWithNameSapce(namespace, key, defaultValue)
agollo is released under MIT lecense