config

package
v0.0.0-...-6c789bd Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package config provides configuration for server.

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLSPConfig = LSP{
		TextDocumentSyncKind: protocol.Full,
	}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Env    Env
	Server Server
	Log    Log
}

Config represents a configuration for server.

type Env

type Env struct {
}

Env represents a environment variables for server.

type LSP

type LSP struct {
	TextDocumentSyncKind protocol.TextDocumentSyncKind
}

LSP represents a configuration for LSP.

type Log

type Log struct {
	File  string
	Level string
}

Log represents a configuration for zap.Logger.

type Server

type Server struct {
	LSP     LSP
	Address string
	Port    int
}

Server represents a configuration for server.

Jump to

Keyboard shortcuts

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