Documentation ¶
Index ¶
- type DBTX
- type EnqueueParams
- type GetTasksByStatusAndQueueNameParams
- type GetTotalInfoByNameHistoryRow
- type GetTotalInfoByNameRow
- type GetTotalInfoHistoryRow
- type GetTotalInfoRow
- type GetTotalInfoWithErrorsRow
- type Job
- type JobStatus
- type NullJobStatus
- type Queries
- func (q *Queries) Enqueue(ctx context.Context, arg EnqueueParams) error
- func (q *Queries) GetJob(ctx context.Context, id int64) (Job, error)
- func (q *Queries) GetTasksByStatusAndQueueName(ctx context.Context, arg GetTasksByStatusAndQueueNameParams) ([]Job, error)
- func (q *Queries) GetTotalInfo(ctx context.Context) ([]GetTotalInfoRow, error)
- func (q *Queries) GetTotalInfoByName(ctx context.Context, queue string) ([]GetTotalInfoByNameRow, error)
- func (q *Queries) GetTotalInfoByNameHistory(ctx context.Context, queue string) ([]GetTotalInfoByNameHistoryRow, error)
- func (q *Queries) GetTotalInfoHistory(ctx context.Context) ([]GetTotalInfoHistoryRow, error)
- func (q *Queries) GetTotalInfoWithErrors(ctx context.Context) ([]GetTotalInfoWithErrorsRow, error)
- func (q *Queries) JobToProcessing(ctx context.Context, dollar_1 []int64) error
- func (q *Queries) Pool() *pgxpool.Pool
- func (q *Queries) UpdateStatus(ctx context.Context, arg UpdateStatusParams) error
- func (q *Queries) UpdateStatusError(ctx context.Context, arg UpdateStatusErrorParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateStatusErrorParams
- type UpdateStatusParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnqueueParams ¶
type GetTotalInfoByNameRow ¶
type GetTotalInfoHistoryRow ¶
type GetTotalInfoRow ¶
type NullJobStatus ¶
type NullJobStatus struct { JobStatus JobStatus Valid bool // Valid is true if JobStatus is not NULL }
func (*NullJobStatus) Scan ¶
func (ns *NullJobStatus) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetTasksByStatusAndQueueName ¶
func (*Queries) GetTotalInfo ¶
func (q *Queries) GetTotalInfo(ctx context.Context) ([]GetTotalInfoRow, error)
func (*Queries) GetTotalInfoByName ¶
func (*Queries) GetTotalInfoByNameHistory ¶
func (*Queries) GetTotalInfoHistory ¶
func (q *Queries) GetTotalInfoHistory(ctx context.Context) ([]GetTotalInfoHistoryRow, error)
func (*Queries) GetTotalInfoWithErrors ¶
func (q *Queries) GetTotalInfoWithErrors(ctx context.Context) ([]GetTotalInfoWithErrorsRow, error)
func (*Queries) JobToProcessing ¶
func (*Queries) UpdateStatus ¶
func (q *Queries) UpdateStatus(ctx context.Context, arg UpdateStatusParams) error
func (*Queries) UpdateStatusError ¶
func (q *Queries) UpdateStatusError(ctx context.Context, arg UpdateStatusErrorParams) error
type UpdateStatusErrorParams ¶
type UpdateStatusParams ¶
type UpdateStatusParams struct { ID int64 Status JobStatus LastError sql.NullString }
Click to show internal directories.
Click to hide internal directories.