Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher is responsible for routing JSONPPC request events to the appropriate place.
type Option ¶
type Option func(*Dispatcher)
Option provides a way to override default behavior of the Dispatcher.
func WithLogger ¶
WithLogger overrides the default logging.Logger for the Dispatcher with the supplied logging.Logger.
type Server ¶
type Server interface { DidChange(context.Context, *protocol.DidChangeTextDocumentParams) DidOpen(context.Context, *protocol.DidOpenTextDocumentParams) DidSave(context.Context, *protocol.DidSaveTextDocumentParams) DidChangeWatchedFiles(context.Context, *protocol.DidChangeWatchedFilesParams) Initialize(context.Context, *jsonrpc2.Conn, jsonrpc2.ID, *protocol.InitializeParams) }
Server defines the set of LSP methods we currently support.
Click to show internal directories.
Click to hide internal directories.