Help us shape the future of Go! Take the 2026 Go Developer Survey

context

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiagnosticsNotifier

func DiagnosticsNotifier(ctx context.Context) (*diagnostics.Notifier, error)

func DocumentStorage

func DocumentStorage(ctx context.Context) (filesystem.DocumentStorage, error)

func LanguageServerVersion

func LanguageServerVersion(ctx context.Context) (string, bool)

func WithDiagnosticsNotifier

func WithDiagnosticsNotifier(ctx context.Context, diags *diagnostics.Notifier) context.Context

func WithLanguageServerVersion

func WithLanguageServerVersion(ctx context.Context, version string) context.Context

func WithSignalCancel

func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (
	context.Context, context.CancelFunc)

Types

type MissingContextErr

type MissingContextErr struct {
	CtxKey *contextKey
}

func (*MissingContextErr) Error

func (e *MissingContextErr) Error() string

Jump to

Keyboard shortcuts

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