tmls

package
v0.4.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package tmls implements a Terramate Language Server (LSP).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the Language Server.

func NewServer

func NewServer(conn jsonrpc2.Conn) *Server

NewServer creates a new language server.

func ServerWithLogger

func ServerWithLogger(conn jsonrpc2.Conn, l zerolog.Logger) *Server

ServerWithLogger creates a new language server with a custom logger.

func (*Server) Handler

func (s *Server) Handler(ctx context.Context, reply jsonrpc2.Replier, r jsonrpc2.Request) error

Handler handles the client requests.

Jump to

Keyboard shortcuts

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