Documentation ¶
Index ¶
- type RiverJobs
- func (w *RiverJobs) AddJob(ctx context.Context, job jobs.Job) error
- func (w *RiverJobs) AddJobType(jobFn jobs.JobFn) error
- func (w *RiverJobs) AddJobs(ctx context.Context, jobs []jobs.Job) error
- func (w *RiverJobs) AddQueue(queue string, count int) error
- func (w *RiverJobs) RiverClient() *river.Client[pgx.Tx]
- func (w *RiverJobs) Run(ctx context.Context) error
- func (w *RiverJobs) RunJob(ctx context.Context, job jobs.Job) error
- func (w *RiverJobs) Stop(ctx context.Context) error
- func (w *RiverJobs) Use(mwf jobs.JobMiddleware)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RiverJobs ¶
type RiverJobs struct {
// contains filtered or unexported fields
}
func (*RiverJobs) RiverClient ¶
func (*RiverJobs) Use ¶
func (w *RiverJobs) Use(mwf jobs.JobMiddleware)
Click to show internal directories.
Click to hide internal directories.