Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config interface {
NewWorker() Worker
}
Config is an interface of a builder of Worker.
type HTTPWorker ¶
HTTPWorker is a worker which handles a job as an HTTP POST request to the URL specified by the job.
func (*HTTPWorker) NewWorker ¶
func (worker *HTTPWorker) NewWorker() Worker
NewWorker creates a new HTTP worker instance which inherits the configurations of the current one.
Click to show internal directories.
Click to hide internal directories.