micro/server
magodo ebc479ef2c Wait() option now accept *sync.WaitGroup
The original signature accept a boolean, and it feel like a little
verbose, since when people pass in this option, he/she always want to
pass a `true`.

Now if input `wg` is nil, it has same effect as passing `true` in
original code. Furthermore, if user want's finer grained control during
shutdown, one can pass in a predefined `wg`, so that server will wait
against it during shutdown.
2019-05-27 21:17:57 +08:00
..
debug switch to stdlib context 2018-03-03 11:53:52 +00:00
mock all: replace "pborman/uuid" with "google/uuid" 2018-11-21 17:29:21 +07:00
rpc add rpc package comments 2018-11-20 10:30:53 +00:00
buffer.go Updated codec interface and code. Painful stuff 2015-11-28 11:22:29 +00:00
context.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
debug.go Add debug stats handler 2016-05-28 22:30:47 +01:00
extractor_test.go switch to stdlib context 2018-03-03 11:53:52 +00:00
extractor.go fix json tag parsing 2019-03-19 00:21:25 +00:00
handler.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
options.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
rpc_codec_test.go rename method to endpoint 2019-01-10 21:25:31 +00:00
rpc_codec.go fallback for 0.14.0 and older 2019-02-01 15:57:34 +00:00
rpc_handler.go Support endpoint metadata 2016-05-26 18:01:02 +01:00
rpc_request.go add server request body 2019-02-04 13:13:03 +00:00
rpc_response.go Further crufting 2019-01-09 19:28:13 +00:00
rpc_router.go handle errors differently 2019-01-22 13:52:18 +00:00
rpc_server.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
rpc_stream.go For the legacy 2019-01-18 10:12:57 +00:00
server.go add RegisterCheck server option for internal health checks 2019-05-15 15:34:34 +03:00
subscriber.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
wrapper.go move wrapper files 2018-04-14 19:24:17 +01:00