ctxutil

package
v0.17.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package ctxutil contains utilities for using Contexts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrIfDone

func ErrIfDone(ctx context.Context) error

ErrIfDone returns the Context's error if done. It is a convenience method for long-running routines that don't have cancellable goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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