routine

package
v0.0.0-...-526d091 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGroup

func NewGroup(ctx context.Context) *errGroup

NewGroup starts a recoverable goroutine errGroup with a context.

func NewPool

func NewPool(parentCtx context.Context, opts ...func(*option)) *pool

NewPool creates a Pool.

func Recover

func Recover(f func(interface{})) func(*option)

Recover register to pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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