ctxutil

package
v0.6.1-rc Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2016 License: MIT 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