handlers

package
v0.0.0-...-c1f6c63 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelRequest

func CancelRequest(ctx context.Context, params lsp.CancelParams) error

func Initialized

func Initialized(ctx context.Context, params lsp.InitializedParams) error

func LogHandler

func LogHandler(logger *log.Logger) *logHandler

func NewSession

func NewSession(srvCtx context.Context) session.Session

func Shutdown

func Shutdown(ctx context.Context, _ interface{}) error

func TextDocumentDidChange

func TextDocumentDidChange(ctx context.Context, params lsp.DidChangeTextDocumentParams) error

func TextDocumentDidClose

func TextDocumentDidClose(ctx context.Context, params lsp.DidCloseTextDocumentParams) error

Types

type VersionResponse

type VersionResponse struct {
	LspVersion string `json:"lspVersion"`
}

func DemoGetVersion

func DemoGetVersion(ctx context.Context) (VersionResponse, error)

Jump to

Keyboard shortcuts

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