1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/broker
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
..
http add http handler option for broker 2018-11-18 20:40:43 +00:00
memory bunch of other ipv6 fixes 2019-07-18 08:59:53 +03:00
nats wait nats drain since it's asynchronous 2019-08-07 17:58:45 +08:00
service Extend the stream timeout 2019-10-04 16:44:21 +01:00
broker.go Add back in broker address 2019-07-10 19:58:30 +01:00
common_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
http_broker_test.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
http_broker.go fix divide by zero bug 2019-10-19 08:11:05 +01:00
options.go Change context key to string 2019-05-29 10:58:41 +01:00