micro/registry/consul
Milos Gajdos 73b0a0ed0e
Return registry.ErrWatcherStopped when consul watcher stops.
The original code returns "result chan closed" errors.Error which does
not carry higher semantics signal to downstream despite go-micro having
a clearly defined Error for this behaviour. This commit fixes that and
lets the downstream i.e. consumer of this code to act based on different
errors.
2019-06-09 15:51:27 +01:00
..
consul.go gofmt 2019-04-23 07:13:21 +00:00
encoding_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
encoding.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
options.go Add ability to specify Consul options and default to AllowStale for all gets 2018-11-23 17:11:37 +10:00
registry_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
watcher_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
watcher.go Return registry.ErrWatcherStopped when consul watcher stops. 2019-06-09 15:51:27 +01:00