Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleWorker ¶
type ExampleWorker struct {
// contains filtered or unexported fields
}
ExampleWorker is an example worker.
func NewExampleWorker ¶
func NewExampleWorker(config *config.Config) *ExampleWorker
NewExampleWorker returns a new ExampleWorker.
func (*ExampleWorker) Name ¶
func (w *ExampleWorker) Name() string
Name returns the ExampleWorker name.
func (*ExampleWorker) Run ¶
func (w *ExampleWorker) Run(ctx context.Context) error
Run executes the ExampleWorker.
Click to show internal directories.
Click to hide internal directories.