signal

package
Version: v0.0.0-...-36f9daf Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package signal handles OS signals and gracefully exits. It's used in an ErrGroup to signal exit to other goroutines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cancel context.CancelFunc) error

Run will be run in an ErrGroup supervisor.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL