Documentation ¶
Index ¶
- type DB
- func (d *DB) Close() error
- func (d *DB) DequeueJob(ctx context.Context, workerName string) (*db.QueryJob, error)
- func (d *DB) EnqueueJob(ctx context.Context, job *db.QueryJob) error
- func (d *DB) FinishJob(ctx context.Context, id string, status string, result string) error
- func (d *DB) GetJob(ctx context.Context, id string) (*db.QueryJob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.