protocol

package
v0.11.49 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: GPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diagnostic

type Diagnostic struct {
	URI      string
	Range    Range
	Severity DiagnosticSeverity
	Code     string
	Source   string
	Message  string
	Related  []RelatedInformation
}

type DiagnosticSeverity

type DiagnosticSeverity int
const (
	SeverityError DiagnosticSeverity = iota + 1
	SeverityWarning
	SeverityInformation
	SeverityHint
)

type DocumentSource

type DocumentSource struct {
	URI          string
	Path         string
	Original     string
	Label        string
	FromCache    bool
	ImportedFrom *Location
}

type Location

type Location struct {
	URI   string
	Range Range
}

type Position

type Position struct {
	Line      int
	Character int
}

type Range

type Range struct {
	Start Position
	End   Position
}

func (Range) Contains

func (r Range) Contains(position Position) bool

type RelatedInformation

type RelatedInformation struct {
	Location Location
	Message  string
}

type Symbol

type Symbol struct {
	Name     string
	Kind     SymbolKind
	Detail   string
	Scope    string
	Location Location
	Source   DocumentSource
}

type SymbolKind

type SymbolKind string
const (
	SymbolKindTask     SymbolKind = "task"
	SymbolKindPipeline SymbolKind = "pipeline"
	SymbolKindContext  SymbolKind = "context"
	SymbolKindWatcher  SymbolKind = "watcher"
	SymbolKindStage    SymbolKind = "stage"
	SymbolKindImport   SymbolKind = "import"
)

func (SymbolKind) String

func (s SymbolKind) String() string

Jump to

Keyboard shortcuts

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