Documentation
¶
Index ¶
Constants ¶
View Source
const DeleteExpiredCompletedTasks = `
DELETE FROM backlite_tasks_completed
WHERE
expires_at IS NOT NULL
AND expires_at <= ?
`
View Source
const DeleteTask = `
DELETE FROM backlite_tasks
WHERE id = ?
`
View Source
const InsertCompletedTask = `` /* 189-byte string literal not displayed */
View Source
const InsertTask = `
INSERT INTO backlite_tasks
(id, created_at, queue, task, wait_until)
VALUES (?, ?, ?, ?, ?)
`
View Source
const SelectScheduledTasks = `` /* 226-byte string literal not displayed */
View Source
const TaskFailed = `
UPDATE backlite_tasks
SET
claimed_at = NULL,
wait_until = ?,
last_executed_at = ?
WHERE id = ?
`
Variables ¶
View Source
var Schema string
Functions ¶
func ClaimTasks ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.