gotools/gopls/internal/lsprpc/export_test.go

const HandshakeMethod

type ServerFunc

type Canceler

func (c *Canceler) Preempt(ctx context.Context, req *jsonrpc2_v2.Request) (interface{}

type ForwardBinder

func NewForwardBinder(dialer jsonrpc2_v2.Dialer) *ForwardBinder {}

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

func NewClientBinder(newClient ClientFunc) *clientBinder {}

type ClientFunc

type clientBinder

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

type HandlerMiddleware

// BindHandler transforms a HandlerMiddleware into a Middleware.
func BindHandler(hmw HandlerMiddleware) Middleware {}

type BinderFunc

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

type Middleware

var GetGoEnv

type StreamServer