micro/registry/memory
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
..
memory_test.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
memory_watcher.go rename mock things to memory 2019-01-14 15:27:25 +00:00
memory.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
options.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
util.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
watcher_test.go replace memory registry 2019-01-18 17:29:17 +00:00
watcher.go replace memory registry 2019-01-18 17:29:17 +00:00