ctxutil

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelableContext

func CancelableContext() (context.Context, context.CancelFunc)

CancelableContext returns context that is canceled when application shutdown is requested.

func ShouldExit

func ShouldExit(ctx context.Context) bool

ShouldExit returns true if context is canceled

Types

This section is empty.

Jump to

Keyboard shortcuts

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