gopool

package
v0.0.0-...-db34e72 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoPool

type GoPool struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(max int) *GoPool

func (*GoPool) Close

func (gp *GoPool) Close()

func (*GoPool) Go

func (gp *GoPool) Go(f func()) error

func (*GoPool) Wait

func (gp *GoPool) Wait()

Jump to

Keyboard shortcuts

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