command

package
v0.0.0-...-8023e94 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package command defines common code for writing Fuchsia command line tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelOnSignals

func CancelOnSignals(ctx context.Context, sigs ...os.Signal) context.Context

CancelOnSignals returns a Context that emits a Done event when any of the input signals are received, assuming those signals can be handled by the current process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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