lsp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package lsp wires the OpenAPI navigation index into a glsp language server.

Index

Constants

View Source
const Name = "oapi-language-server"

Name is the server name reported to clients.

Variables

View Source
var Version = "0.1.0"

Version is the server version reported to clients.

Functions

This section is empty.

Types

type Server

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

Server holds the parsed-document workspace and the glsp handler.

func NewServer

func NewServer() *Server

NewServer constructs a Server with all handlers wired.

func (*Server) Run

func (s *Server) Run() error

Run starts the server over stdio and blocks until the connection closes.

Jump to

Keyboard shortcuts

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