label

package
v0.0.0-...-68c7731 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package label provides common labels used to annotate gopls log messages and events.

Index

Constants

This section is empty.

Variables

View Source
var (
	File      = keys.NewString("file", "")
	Directory = keys.New("directory", "")
	URI       = keys.New("URI", "")
	Package   = keys.NewString("package", "") // sorted comma-separated list of Package IDs
	Query     = keys.New("query", "")
	ViewID    = keys.NewString("view_id", "")
	Snapshot  = keys.NewUInt64("snapshot", "")
	Operation = keys.NewString("operation", "")
	Duration  = keys.New("duration", "Elapsed time")

	Position     = keys.New("position", "")
	PackageCount = keys.NewInt("packages", "")
	Files        = keys.New("files", "")
	Port         = keys.NewInt("port", "")

	NewServer = keys.NewString("new_server", "A new server was added")
	EndServer = keys.NewString("end_server", "A server was shut down")

	ServerID     = keys.NewString("server", "The server ID an event is related to")
	Logfile      = keys.NewString("logfile", "")
	DebugAddress = keys.NewString("debug_address", "")
	GoplsPath    = keys.NewString("gopls_path", "")
	ClientID     = keys.NewString("client_id", "")

	Level = keys.NewInt("level", "The logging level")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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