1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:14:42 -07:00
go/internal/jsonrpc2
Ian Cottrell 1f08ef6002 internal/jsonrpc2: split reply from request
reply is now passed to handlers separately from request, which allows it to be
substituted by handlers.
This also makes the handler signature much closer to http (which has
ResponseWriter)

Change-Id: I12be2e8e8b9bd508982ba43c9092709429284eaf
Reviewed-on: https://go-review.googlesource.com/c/tools/+/227839
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-13 01:58:12 +00:00
..
servertest internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +00:00
handler.go internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +00:00
jsonrpc2_test.go internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +00:00
jsonrpc2.go internal/jsonrpc2: split reply from request 2020-04-13 01:58:12 +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