Documentation ¶
Index ¶
- func WithJobProcessorInstrumentation() func(worker.JobProcessor) worker.JobProcessor
- type JobProcessorInstrumentation
- func (mw JobProcessorInstrumentation) Enqueue(ctx context.Context, jobs ...worker.Job) (err error)
- func (mw JobProcessorInstrumentation) GetSyncJobsByService(ctx context.Context, service string) ([]worker.Job, error)
- func (mw JobProcessorInstrumentation) Process(ctx context.Context, types []string, fn worker.JobExecutorFunc) (err error)
- func (mw JobProcessorInstrumentation) Stats(ctx context.Context) ([]worker.JobTypeStats, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithJobProcessorInstrumentation ¶
func WithJobProcessorInstrumentation() func(worker.JobProcessor) worker.JobProcessor
Types ¶
type JobProcessorInstrumentation ¶
type JobProcessorInstrumentation struct {
// contains filtered or unexported fields
}
func (JobProcessorInstrumentation) GetSyncJobsByService ¶ added in v0.7.0
func (JobProcessorInstrumentation) Process ¶
func (mw JobProcessorInstrumentation) Process(ctx context.Context, types []string, fn worker.JobExecutorFunc) (err error)
func (JobProcessorInstrumentation) Stats ¶
func (mw JobProcessorInstrumentation) Stats(ctx context.Context) ([]worker.JobTypeStats, error)
Click to show internal directories.
Click to hide internal directories.