gorman

package
v0.0.0-...-e300b18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoroutineManager

type GoroutineManager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *GoroutineManager

func WithChecker

func WithChecker(f func(int)) *GoroutineManager

func (*GoroutineManager) Cancel

func (gm *GoroutineManager) Cancel()

func (*GoroutineManager) Count

func (gm *GoroutineManager) Count() int

func (*GoroutineManager) Go

func (gm *GoroutineManager) Go(f func(<-chan struct{}) int)

func (*GoroutineManager) RegisterCodeChecker

func (gm *GoroutineManager) RegisterCodeChecker(f func(int))

func (*GoroutineManager) Wait

func (gm *GoroutineManager) Wait()

Jump to

Keyboard shortcuts

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