handler

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(lsName, version string) *Handler

func (*Handler) Do

func (r *Handler) Do(ctx context.Context) error

func (*Handler) Initialize

func (h *Handler) Initialize(
	context *glsp.Context,
	params *protocol.InitializeParams,
) (any, error)

func (*Handler) Initialized

func (*Handler) Initialized(context *glsp.Context, params *protocol.InitializedParams) error

func (*Handler) Shutdown

func (*Handler) Shutdown(context *glsp.Context) error

func (*Handler) TextDocument_Completion

func (h *Handler) TextDocument_Completion(
	context *glsp.Context,
	params *protocol.CompletionParams,
) (any, error)

Jump to

Keyboard shortcuts

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