lsp

package
v0.0.0-...-0c6a35b Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(ctx context.Context, stream jsonrpc2.Stream, opts ...interface{}) error

RunServer starts an LSP server on the supplied stream, and waits until the stream is closed.

func RunServerOnAddress

func RunServerOnAddress(ctx context.Context, addr string, opts ...interface{}) error

RunServerOnPort starts an LSP server on the given port and does not exit. This function exists for debugging purposes.

func RunServerOnPort

func RunServerOnPort(ctx context.Context, port int, opts ...interface{}) error

RunServerOnPort starts an LSP server on the given port and does not exit. This function exists for debugging purposes.

Types

This section is empty.

Directories

Path Synopsis
Package cmd handles the gopls command line.
Package cmd handles the gopls command line.
Package diff implements the Myers diff algorithm.
Package diff implements the Myers diff algorithm.
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
Package protocol contains the structs that map directly to the wire format of the "Language Server Protocol".
Package source provides core features for use by Go editors and tools.
Package source provides core features for use by Go editors and tools.

Jump to

Keyboard shortcuts

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