language

package module
v0.0.0-...-8fefe4b Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 5 Imported by: ? 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

This section is empty.

Types

type Handler

type Handler struct {
	Language *Language
	Logger   *log.Logger
}

func (*Handler) Handle

func (h *Handler) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request) (any, error)

type Language

type Language struct{}

type Server

type Server struct {
	Handler *Handler
	Conn    io.ReadWriteCloser
	Logger  *log.Logger
}

func (*Server) Run

func (s *Server) Run(ctx context.Context)

type Stdio

type Stdio struct{}

func (*Stdio) Close

func (s *Stdio) Close() error

func (*Stdio) Read

func (s *Stdio) Read(p []byte) (int, error)

func (*Stdio) Write

func (s *Stdio) Write(p []byte) (int, error)

Directories

Path Synopsis
cmd
language-server command

Jump to

Keyboard shortcuts

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