runner

package module
v0.0.0-...-ce88875 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 2 Imported by: 0

README

runner

A goroutine coordinator inspired by https://github.com/go-tomb/tomb/tree/v2.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Run(func() error)
	Stopping() <-chan struct{}
	Context() context.Context

	Wait() error
	Stop()
	Errors() []error
}

func New

func New() Runner

Jump to

Keyboard shortcuts

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