Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker is a simple wrapper that combines the different worker engines in a single daemon interface.
func (*Worker) Daemon ¶
func (w *Worker) Daemon()
Daemon executes the injected worker engines concurrently, each in their own goroutine. Daemon itself does not block, so that it is the responsibility of the calling goroutine to stop the programm to exit prematurely. Any signal handling must then be injected directly into the underlying worker engines.
Click to show internal directories.
Click to hide internal directories.