go/gopls/internal/lsp/lsprpc
Bryan C. Mills 7cdb0e7352 internal/jsonrpc2_v2: rename Serve to NewServer and eliminate its error return
Serve had a misleading name and signature: it did not actually block
on serving the connection, and never returned a non-nil error.

Updates golang/go#56281.

Change-Id: Ia6df0ba20066811b0551df3b3267dff2fffd7881
Reviewed-on: https://go-review.googlesource.com/c/tools/+/443678
Reviewed-by: Alan Donovan <adonovan@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
2022-10-31 15:32:39 +00:00
..
autostart_default.go all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
autostart_posix.go all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
binder.go internal/jsonrpc2_v2: eliminate error return from Bind 2022-10-31 15:32:37 +00:00
binder_test.go internal/jsonrpc2_v2: rename Serve to NewServer and eliminate its error return 2022-10-31 15:32:39 +00:00
commandinterceptor.go internal/jsonrpc2_v2: eliminate error return from Bind 2022-10-31 15:32:37 +00:00
commandinterceptor_test.go
dialer.go
goenv.go
goenv_test.go
lsprpc.go
lsprpc_test.go
middleware.go internal/jsonrpc2_v2: eliminate error return from Bind 2022-10-31 15:32:37 +00:00
middleware_test.go internal/jsonrpc2_v2: eliminate error return from Bind 2022-10-31 15:32:37 +00:00