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

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