micro/registry
Erik Hollensbe 4107733453 Memory registry from #801 with additional tweaks (#951)
* PoC: memory registry using maps instead of slice madness

* Updated proto and handlers. Fixed tests across codebase.

* Implemented ttl pruning for memory registry

* Added extensive memory registry tests

* Squased a bunch of bugs

* Proto indent; memory.Registry.String() returns "memory"

* Write a test to prove memory registry TTLs are busted

Signed-off-by: Erik Hollensbe <github@hollensbe.org>

* Additional memory testing and fixups:

* DefaultTTL removed
* When TTL == 0, it is automatically removed from expiry conditions
* Additional improvements to new tests

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2019-11-16 10:55:11 +00:00
..
cache Remove go routines for mdns watcher and cache registry (#919) 2019-11-06 15:49:40 +00:00
etcd preallocated slices (#934) 2019-11-11 00:03:51 +00:00
mdns Use .micro domain for mdns 2019-09-09 05:11:25 -07:00
memory Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
service Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
encoding_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
encoding.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
mdns_registry.go preallocated slices (#934) 2019-11-11 00:03:51 +00:00
mdns_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
mdns_watcher.go Remove go routines for mdns watcher and cache registry (#919) 2019-11-06 15:49:40 +00:00
options.go registry: [gossip] add ConnectRetry and ConnectTimeout 2019-02-12 17:16:35 +03:00
registry.go Move global vars to the top of the src file: conventions 2019-09-23 20:48:25 +01:00
service.go Remove Port from registry 2019-07-08 08:01:42 +01:00
util_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
util.go fixes https://github.com/micro/go-micro/issues/793 2019-09-30 10:36:43 +08:00
watcher_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
watcher.go Add registry event to registry package 2019-09-23 20:48:25 +01:00