contextutil

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package contextutil provides shared checks for required Go contexts.

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingContext = errors.New("missing context")

ErrMissingContext signals a missing required Go context.

Functions

func Check

func Check(c context.Context) error

Check returns ErrMissingContext for nil, or the context's cancellation or deadline error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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