Discover Packages
github.com/richardwxn/istio
galley
pkg
util
package
Version:
v0.0.0-...-1a56975
Opens a new window with list of versions in this module.
Published: Apr 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Worker is a utility to help manage the lifecycle of a worker thread.
NewWorker creates a new worker with the given name and logging scope.
Start the worker thread via the provided lambda. The runFn lambda is run in a
go routine and is provided a context to trigger the exit of the function. If
this Worker was already started, returns an error.
Stop the worker thread and waits for it to exit gracefully.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.