Documentation ¶
Index ¶
- func DiagnosticsNotifier(ctx context.Context) (*diagnostics.Notifier, error)
- func DocumentStorage(ctx context.Context) (filesystem.DocumentStorage, error)
- func LanguageServerVersion(ctx context.Context) (string, bool)
- func WithDiagnosticsNotifier(ctx context.Context, diags *diagnostics.Notifier) context.Context
- func WithDocumentStorage(ctx context.Context, fs filesystem.DocumentStorage) context.Context
- func WithLanguageServerVersion(ctx context.Context, version string) context.Context
- func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (context.Context, context.CancelFunc)
- type MissingContextErr
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 WithDiagnosticsNotifier ¶
func WithDocumentStorage ¶
func WithDocumentStorage(ctx context.Context, fs filesystem.DocumentStorage) context.Context
Types ¶
type MissingContextErr ¶
type MissingContextErr struct {
CtxKey *contextKey
}
func (*MissingContextErr) Error ¶
func (e *MissingContextErr) Error() string
Click to show internal directories.
Click to hide internal directories.