langserver

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 19 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 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
}

type T added in v0.27.0

type T interface {
	Fatal(args ...interface{})
	Fatalf(format string, args ...interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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