1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00
go/internal/jsonrpc2
Ian Cottrell ce2627f346 internal/jsonrpc2: remove the OnReply callbacks
The same behavior can now be achieved by wrapping the Replier as we traverse the
handler stack instead.
Request is no longer mutated during handler invocation.

Change-Id: I2213de500f39e048f3f80161e234f3ae30464d70
Reviewed-on: https://go-review.googlesource.com/c/tools/+/227918
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-14 21:18:03 +00:00
..
servertest internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +00:00
handler.go internal/jsonrpc2: remove the OnReply callbacks 2020-04-14 21:18:03 +00:00
jsonrpc2_test.go internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +00:00
jsonrpc2.go internal/jsonrpc2: remove the OnReply callbacks 2020-04-14 21:18:03 +00:00
serve_test.go internal/lsp: improve ID formatting 2020-04-10 13:25:36 +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_test.go internal/jsonrpc2: make the wire structures private 2020-04-13 01:57:29 +00:00
wire.go internal/jsonrpc2: make the wire structures private 2020-04-13 01:57:29 +00:00