1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/client/selector
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
..
dns used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
registry Move selector to client/selector 2019-06-21 15:13:54 +01:00
router preallocated slices (#917) 2019-11-05 17:43:12 +00:00
static Remove Port from registry 2019-07-08 08:01:42 +01:00
common_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
default_test.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
default.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
filter_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
filter.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
options.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
selector.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
strategy_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
strategy.go preallocated slices (#917) 2019-11-05 17:43:12 +00:00