Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWorker ¶
MockWorker is a mock of Worker
func NewMockWorker ¶
func NewMockWorker() *MockWorker
NewMockWorker provides a mock function with given fields: workerPool
type MockWorkerFactory ¶
MockWorkerFactory is a factory for creating workers
func NewMockWorkerFactory ¶
func NewMockWorkerFactory() *MockWorkerFactory
NewMockWorkerFactory returns a new worker factory
type Worker ¶
type Worker struct { WorkerPool chan chan scheduler.Jobber JobChannel chan scheduler.Jobber // contains filtered or unexported fields }
Worker defines a worker
type WorkerFactory ¶
type WorkerFactory struct{}
WorkerFactory is a factory for creating workers
func NewWorkerFactory ¶
func NewWorkerFactory() *WorkerFactory
NewWorkerFactory returns a new worker factory
Click to show internal directories.
Click to hide internal directories.