langserver

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2021 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConcurrency added in v0.16.3

func DefaultConcurrency() int

func NewLangServer

func NewLangServer(srvCtx context.Context, sf session.SessionFactory) *langServer

func NewLangServerMock

func NewLangServerMock(t *testing.T, sf session.SessionFactory) *langServerMock

func Server

func Server(svc server.Service, opts *jrpc2.ServerOptions) (*singleServer, error)

func WithRequestConcurrency added in v0.16.3

func WithRequestConcurrency(parent context.Context, concurrency int) context.Context

Types

type CallRequest

type CallRequest struct {
	Method    string
	ReqParams string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL