1
0
mirror of https://github.com/golang/go synced 2024-09-30 18:28:32 -06:00
go/internal/jsonrpc2
Ian Cottrell 7db14c95bf internal/lsp: rewrite the rpc debug page
Now it only uses the telemetry messages directly rather than the metric system.
This is much faster and more direct, and removes a blocker on improving the
metrics support.
Also fixes the fact that recieced and sent were the wrong way round before,
probably as an artifact of the old protocol logging code, and also removes
the bytes histogram which was a lie (it was a histogram of write sizes that
was presented as a histogram of message sizes)

fixes golang/go#38168

Change-Id: Ib1c3459c0ff1cf0c6087a828981e80c1ce1c5c1b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/227139
Run-TryBot: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-04-06 14:44:18 +00:00
..
servertest internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
handler.go internal/jsonrpc2: remove the legacy interface 2020-04-06 14:43:58 +00:00
jsonrpc2_test.go internal/jsonrpc2: change handler to a function type 2020-04-06 13:48:45 +00:00
jsonrpc2.go internal/lsp: rewrite the rpc debug page 2020-04-06 14:44:18 +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