1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:28:32 -06:00
go/internal/jsonrpc2
Ian Cottrell 7e0acf58eb internal/jsonrpc2: cleanup reply handling
Instead of having a Parallel method, we only have Reply, which must also be used
for Notify messages (with a nil response).
This has no real functional impact but makes it easier to refactor in the next
cl.

Change-Id: Ifd4316dd71706de7913c69e6be539b966800e9dd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/226837
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-06 13:49:09 +00:00
..
servertest internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
handler.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
jsonrpc2_test.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
jsonrpc2.go internal/jsonrpc2: cleanup reply handling 2020-04-06 13:49:09 +00:00
serve_test.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
serve.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
stream.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
wire.go all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00