SYMBOL INDEX (71 symbols across 9 files) FILE: enqueue_test.go function TestEnqueueOnlyType (line 10) | func TestEnqueueOnlyType(t *testing.T) { function TestEnqueueWithPriority (line 50) | func TestEnqueueWithPriority(t *testing.T) { function TestEnqueueWithRunAt (line 69) | func TestEnqueueWithRunAt(t *testing.T) { function TestEnqueueWithArgs (line 90) | func TestEnqueueWithArgs(t *testing.T) { function TestEnqueueWithQueue (line 109) | func TestEnqueueWithQueue(t *testing.T) { function TestEnqueueWithEmptyType (line 128) | func TestEnqueueWithEmptyType(t *testing.T) { function TestEnqueueInTx (line 137) | func TestEnqueueInTx(t *testing.T) { FILE: que.go type Job (line 13) | type Job struct method Conn (line 56) | func (j *Job) Conn() *pgx.Conn { method Delete (line 67) | func (j *Job) Delete() error { method Done (line 86) | func (j *Job) Done() { method Error (line 111) | func (j *Job) Error(msg string) error { type Client (line 124) | type Client struct method Enqueue (line 140) | func (c *Client) Enqueue(j *Job) error { method EnqueueInTx (line 150) | func (c *Client) EnqueueInTx(j *Job, tx *pgx.Tx) error { method LockJob (line 225) | func (c *Client) LockJob(queue string) (*Job, error) { function NewClient (line 131) | func NewClient(pool *pgx.ConnPool) *Client { function execEnqueue (line 154) | func execEnqueue(j *Job, q queryable) error { type queryable (line 195) | type queryable interface constant maxLockJobAttempts (line 203) | maxLockJobAttempts = 10 function PrepareStatements (line 298) | func PrepareStatements(conn *pgx.Conn) error { type Preparer (line 304) | type Preparer interface function PrepareStatementsWithPreparer (line 312) | func PrepareStatementsWithPreparer(p Preparer) error { FILE: que_test.go function openTestClientMaxConns (line 14) | func openTestClientMaxConns(t testing.TB, maxConnections int) *Client { function openTestClient (line 27) | func openTestClient(t testing.TB) *Client { function truncateAndClose (line 31) | func truncateAndClose(pool *pgx.ConnPool) { function findOneJob (line 38) | func findOneJob(q queryable) (*Job, error) { FILE: schema.sql type que_jobs (line 1) | CREATE TABLE IF NOT EXISTS que_jobs FILE: sql.go constant sqlLockJob (line 28) | sqlLockJob = ` constant sqlUnlockJob (line 63) | sqlUnlockJob = ` constant sqlCheckJob (line 67) | sqlCheckJob = ` constant sqlSetError (line 76) | sqlSetError = ` constant sqlInsertJob (line 87) | sqlInsertJob = ` constant sqlDeleteJob (line 94) | sqlDeleteJob = ` constant sqlJobStats (line 102) | sqlJobStats = ` constant sqlWorkerStates (line 120) | sqlWorkerStates = ` FILE: util.go function intPow (line 4) | func intPow(x, y int) (r int) { FILE: work_test.go function TestLockJob (line 13) | func TestLockJob(t *testing.T) { function TestLockJobAlreadyLocked (line 82) | func TestLockJobAlreadyLocked(t *testing.T) { function TestLockJobNoJob (line 109) | func TestLockJobNoJob(t *testing.T) { function TestLockJobCustomQueue (line 122) | func TestLockJobCustomQueue(t *testing.T) { function TestJobConn (line 154) | func TestJobConn(t *testing.T) { function TestJobConnRace (line 176) | func TestJobConnRace(t *testing.T) { function TestLockJobAdvisoryRace (line 210) | func TestLockJobAdvisoryRace(t *testing.T) { function TestJobDelete (line 379) | func TestJobDelete(t *testing.T) { function TestJobDone (line 410) | func TestJobDone(t *testing.T) { function TestJobDoneMultiple (line 454) | func TestJobDoneMultiple(t *testing.T) { function TestJobDeleteFromTx (line 475) | func TestJobDeleteFromTx(t *testing.T) { function TestJobDeleteFromTxRollback (line 526) | func TestJobDeleteFromTxRollback(t *testing.T) { function TestJobError (line 577) | func TestJobError(t *testing.T) { FILE: worker.go type WorkFunc (line 16) | type WorkFunc type WorkMap (line 20) | type WorkMap type Worker (line 24) | type Worker struct method Work (line 72) | func (w *Worker) Work() { method WorkOne (line 96) | func (w *Worker) WorkOne() (didWork bool) { method Shutdown (line 136) | func (w *Worker) Shutdown() { function init (line 43) | func init() { function NewWorker (line 60) | func NewWorker(c *Client, m WorkMap) *Worker { function recoverPanic (line 152) | func recoverPanic(j *Job) { type WorkerPool (line 172) | type WorkerPool struct method Start (line 194) | func (w *WorkerPool) Start() { method Shutdown (line 208) | func (w *WorkerPool) Shutdown() { function NewWorkerPool (line 184) | func NewWorkerPool(c *Client, wm WorkMap, count int) *WorkerPool { FILE: worker_test.go function init (line 14) | func init() { function TestWorkerWorkOne (line 18) | func TestWorkerWorkOne(t *testing.T) { function TestWorkerShutdown (line 49) | func TestWorkerShutdown(t *testing.T) { function BenchmarkWorker (line 68) | func BenchmarkWorker(b *testing.B) { function nilWorker (line 90) | func nilWorker(j *Job) error { function TestWorkerWorkReturnsError (line 94) | func TestWorkerWorkReturnsError(t *testing.T) { function TestWorkerWorkRescuesPanic (line 145) | func TestWorkerWorkRescuesPanic(t *testing.T) { function TestWorkerWorkOneTypeNotInMap (line 196) | func TestWorkerWorkOneTypeNotInMap(t *testing.T) {