langserver

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MPL-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(configPath string, cliConfig *tflint.Config) (jsonrpc2.Handler, *tfplugin.Plugin, error)

NewHandler returns a new JSON-RPC handler

Types

type Conn

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

Conn is a connection for LSP

func NewConn

func NewConn(reader io.ReadCloser, writer io.WriteCloser) *Conn

NewConn returns a new LSP connection

func (*Conn) Close

func (c *Conn) Close() error

Close closes the connection

func (*Conn) Read

func (c *Conn) Read(p []byte) (int, error)

Read reads data from input

func (*Conn) Write

func (c *Conn) Write(p []byte) (int, error)

Write writes data to output

Jump to

Keyboard shortcuts

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