# Packages

Package cache is the component of the PromQL language server that isresponsible for the caching the content and parse results of documents opened in the language client.
No description provided by the author

# Functions

CreateHeadlessServer creates a locked down server instance for the REST API.
ReadConfig gets the GlobalConfig from a configFile (that is a path to the file).
RunTCPServer generates a server listening on the provided TCP Address, creating a new language Server instance using plain HTTP for every connection.
ServerFromStream generates a Server from a jsonrpc2.Stream.
StdioServer generates a Server instance talking to stdio.

# Constants

JSONFormat is used for JSON logs.
TextFormat is used of structured text logs.

# Structs

Config contains the configuration for a server.
Server wraps language server instance that can connect to exactly one client.

# Interfaces

HeadlessServer is a modified Server interface that is used by the REST API.

# Type aliases

LogFormat is the type used for describing the format of logs.