gotools/gopls/internal/lsprpc/binder_test.go

type ServerBinder

func NewServerBinder(newServer ServerFunc) *ServerBinder {}

func (b *ServerBinder) Bind(ctx context.Context, conn *jsonrpc2_v2.Connection) jsonrpc2_v2.ConnectionOptions {}

type TestEnv

func (e *TestEnv) Shutdown(t *testing.T) {}

func (e *TestEnv) serve(ctx context.Context, t *testing.T, server jsonrpc2_v2.Binder) (jsonrpc2_v2.Listener, *jsonrpc2_v2.Server) {}

func (e *TestEnv) dial(ctx context.Context, t *testing.T, dialer jsonrpc2_v2.Dialer, client jsonrpc2_v2.Binder, forwarded bool) *jsonrpc2_v2.Connection {}

func staticClientBinder(client protocol.Client) jsonrpc2_v2.Binder {}

func staticServerBinder(server protocol.Server) jsonrpc2_v2.Binder {}

func TestClientLoggingV2(t *testing.T) {}

func TestRequestCancellationV2(t *testing.T) {}