synced

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(closers ...func() error) error

func Do

func Do(action func() error, updateErr *error)

func HandleExit

func HandleExit()

func Run

func Run(ctx context.Context, timeout time.Duration, actions ...func() error) error

Types

type Exit

type Exit struct{ Code int }

Jump to

Keyboard shortcuts

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