glsp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

README

The code in this folder was forked over from tliron/glsp on GitHub. The repository can be found here and the Git commit that the source of the fork came from was d7cfc1c7abca7d5d8addb034e99b4cb7c75e5c1e.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallFunc

type CallFunc func(ctx context.Context, method string, params any, result any)

type Context

type Context struct {
	Method  string
	Params  json.RawMessage
	Notify  NotifyFunc
	Call    CallFunc
	Context context.Context // can be nil
}

type Handler

type Handler interface {
	Handle(context *Context) (result any, validMethod bool, validParams bool, err error)
}

type NotifyFunc

type NotifyFunc func(ctx context.Context, method string, params any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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