package
Version:
v0.0.0-...-1c84420
Opens a new window with list of versions in this module.
Published: Jul 26, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cap returns the capacity of this default pool.
Free returns the available goroutines to work.
Reboot reboots the default pool.
Release Closes the default pool.
Running returns the number of the currently running goroutines.
func Submit(task func()) error
Submit submits a task to pool.
type Logger interface {
Printf(format string, args ...interface{})
}
Logger is used for logging formatted messages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.