1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-micro/registry/service
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
..
handler Cleanup registry handler/service 2019-10-13 12:23:13 +01:00
proto Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
service.go preallocating slices (#904) 2019-11-04 10:33:53 +00:00
util.go preallocated slices (#934) 2019-11-11 00:03:51 +00:00
watcher.go Cleanup registry handler/service 2019-10-13 12:23:13 +01:00