1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/client
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
..
grpc used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
mock rename reqBody variable to request 2019-05-02 18:06:43 +02:00
mucp check in this cruft 2019-06-08 19:40:44 +01:00
pool Move connection pool to own package 2019-07-28 18:56:18 +01:00
proto Update client proto 2019-08-23 12:06:11 +01:00
selector Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
backoff_test.go rename Streamer to Stream 2018-04-14 18:15:09 +01:00
backoff.go switch to stdlib context 2018-03-03 11:53:52 +00:00
client.go Update client.go 2019-07-22 15:41:14 +08:00
common_test.go used gofmt with -s flag on whole project 2019-11-01 15:07:53 +00:00
context.go switch to stdlib context 2018-03-03 11:53:52 +00:00
options_test.go move transport back 2019-07-09 18:41:26 +01:00
options.go Use client.Call for non streaming requests 2019-08-16 17:24:17 +01:00
retry.go retry only on timeout or internal server error 2018-07-22 17:41:58 +01:00
rpc_client_test.go Memory registry from #801 with additional tweaks (#951) 2019-11-16 10:55:11 +00:00
rpc_client.go Revert to creating new connections for stream 2019-09-25 15:21:21 +01:00
rpc_codec.go Use client.Call for non streaming requests 2019-08-16 17:24:17 +01:00
rpc_message.go add message options 2018-05-10 17:33:54 +01:00
rpc_request_test.go rename method to endpoint 2019-01-10 21:25:31 +00:00
rpc_request.go Use protocol from node metadata 2019-01-18 12:30:39 +00:00
rpc_response.go move transport back 2019-07-09 18:41:26 +01:00
rpc_stream.go functioning proxy code 2019-08-16 16:46:29 +01:00
wrapper.go Use protocol from node metadata 2019-01-18 12:30:39 +00:00