SYMBOL INDEX (1445 symbols across 178 files) FILE: example/amqp/main.go function init (line 28) | func init() { function main (line 36) | func main() { function startServer (line 65) | func startServer() (*machinery.Server, error) { function worker (line 99) | func worker() error { function send (line 138) | func send() error { FILE: example/redis/main.go function init (line 28) | func init() { function main (line 36) | func main() { function startServer (line 65) | func startServer() (*machinery.Server, error) { function worker (line 102) | func worker() error { function send (line 141) | func send() error { FILE: example/tasks/tasks.go function Add (line 12) | func Add(args ...int64) (int64, error) { function Multiply (line 21) | func Multiply(args ...int64) (int64, error) { function SumInts (line 30) | func SumInts(numbers []int64) (int64, error) { function SumFloats (line 39) | func SumFloats(numbers []float64) (float64, error) { function Concat (line 48) | func Concat(strs []string) (string, error) { function Split (line 57) | func Split(str string) ([]string, error) { function PanicTask (line 62) | func PanicTask() (string, error) { function LongRunningTask (line 67) | func LongRunningTask() error { FILE: example/tracers/jaeger.go function SetupTracer (line 20) | func SetupTracer(serviceName string) (func(), error) { FILE: integration-tests/amqp_amqp_test.go function TestAmqpAmqp (line 11) | func TestAmqpAmqp(t *testing.T) { FILE: integration-tests/amqp_get_pending_tasks_test.go function TestAmqpGetPendingTasks (line 15) | func TestAmqpGetPendingTasks(t *testing.T) { function compareSigs (line 99) | func compareSigs(t *testing.T, a *tasks.Signature, b *tasks.Signature) { FILE: integration-tests/amqp_memcache_test.go function TestAmqpMemcache (line 12) | func TestAmqpMemcache(t *testing.T) { FILE: integration-tests/amqp_mongodb_test.go function TestAmqpMongodb (line 12) | func TestAmqpMongodb(t *testing.T) { FILE: integration-tests/amqp_redis_test.go function TestAmqpRedis (line 12) | func TestAmqpRedis(t *testing.T) { FILE: integration-tests/eager_eager_test.go type EagerIntegrationTestSuite (line 14) | type EagerIntegrationTestSuite struct method SetupSuite (line 25) | func (s *EagerIntegrationTestSuite) SetupSuite() { method TestCalled (line 54) | func (s *EagerIntegrationTestSuite) TestCalled() { method TestSuccessResult (line 69) | func (s *EagerIntegrationTestSuite) TestSuccessResult() { function TestEagerIntegrationTestSuite (line 21) | func TestEagerIntegrationTestSuite(t *testing.T) { FILE: integration-tests/gcppubsub_redis_test.go function createGCPPubSubTopicAndSubscription (line 16) | func createGCPPubSubTopicAndSubscription(cli *pubsub.Client, topicName, ... function TestGCPPubSubRedis (line 53) | func TestGCPPubSubRedis(t *testing.T) { FILE: integration-tests/redis_get_pending_tasks_test.go function TestRedisGetPendingTasks (line 11) | func TestRedisGetPendingTasks(t *testing.T) { FILE: integration-tests/redis_memcache_test.go function TestRedisMemcache (line 12) | func TestRedisMemcache(t *testing.T) { FILE: integration-tests/redis_mongodb_test.go function TestRedisMongodb (line 12) | func TestRedisMongodb(t *testing.T) { FILE: integration-tests/redis_redis_test.go function TestRedisRedis_Redigo (line 14) | func TestRedisRedis_Redigo(t *testing.T) { function TestRedisRedisNormalTaskPollPeriodLessThan1SecondShouldNotFailNextTask (line 34) | func TestRedisRedisNormalTaskPollPeriodLessThan1SecondShouldNotFailNextT... function TestRedisRedisWorkerQuitRaceCondition (line 57) | func TestRedisRedisWorkerQuitRaceCondition(t *testing.T) { function TestRedisRedisWorkerQuickQuit (line 90) | func TestRedisRedisWorkerQuickQuit(t *testing.T) { function TestRedisRedisWorkerPreConsumeHandler (line 128) | func TestRedisRedisWorkerPreConsumeHandler(t *testing.T) { FILE: integration-tests/redis_socket_test.go function TestRedisSocket (line 12) | func TestRedisSocket(t *testing.T) { FILE: integration-tests/sqs_amqp_test.go function TestSQSAmqp (line 11) | func TestSQSAmqp(t *testing.T) { FILE: integration-tests/sqs_mongodb_test.go function TestSQSMongodb (line 12) | func TestSQSMongodb(t *testing.T) { FILE: integration-tests/suite_test.go type ascendingInt64s (line 22) | type ascendingInt64s method Len (line 24) | func (a ascendingInt64s) Len() int { return len(a) } method Swap (line 25) | func (a ascendingInt64s) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 26) | func (a ascendingInt64s) Less(i, j int) bool { return a[i] < a[j] } type Server (line 28) | type Server interface function testAll (line 42) | func testAll(server Server, t *testing.T) { function testSendTask (line 54) | func testSendTask(server Server, t *testing.T) { function testSendGroup (line 103) | func testSendGroup(server Server, t *testing.T, sendConcurrency int) { function testSendChain (line 148) | func testSendChain(server Server, t *testing.T) { function testSendChord (line 179) | func testSendChord(server Server, t *testing.T) { function testReturnJustError (line 215) | func testReturnJustError(server Server, t *testing.T) { function testReturnMultipleValues (line 243) | func testReturnMultipleValues(server Server, t *testing.T) { function testPanic (line 292) | func testPanic(server Server, t *testing.T) { function testDelay (line 306) | func testDelay(server Server, t *testing.T) { function registerTestTasks (line 343) | func registerTestTasks(server Server) { function testSetup (line 393) | func testSetup(cnf *config.Config) Server { function newAddTask (line 405) | func newAddTask(a, b int) *tasks.Signature { function newMultipleTask (line 421) | func newMultipleTask(nums ...int) *tasks.Signature { function newSumTask (line 435) | func newSumTask(nums []int64) *tasks.Signature { function newErrorTask (line 447) | func newErrorTask(msg string, fail bool) *tasks.Signature { function newMultipleReturnTask (line 463) | func newMultipleReturnTask(arg1, arg2 string, fail bool) *tasks.Signature { function newDelayTask (line 483) | func newDelayTask(eta time.Time) *tasks.Signature { FILE: integration-tests/worker_only_consumes_registered_tasks_test.go function TestWorkerOnlyConsumesRegisteredTaskAMQP (line 16) | func TestWorkerOnlyConsumesRegisteredTaskAMQP(t *testing.T) { function TestWorkerOnlyConsumesRegisteredTaskRedis (line 138) | func TestWorkerOnlyConsumesRegisteredTaskRedis(t *testing.T) { FILE: v1/backends/amqp/amqp.go type Backend (line 32) | type Backend struct method InitGroup (line 43) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 50) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 66) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 119) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 135) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 141) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 147) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 153) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 159) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 174) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 190) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 243) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 254) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 267) | func (b *Backend) updateState(taskState *tasks.TaskState) error { method getExpiresIn (line 323) | func (b *Backend) getExpiresIn() int { method markTaskCompleted (line 335) | func (b *Backend) markTaskCompleted(signature *tasks.Signature, taskSt... function New (line 38) | func New(cnf *config.Config) iface.Backend { function amqmChordTriggeredQueue (line 394) | func amqmChordTriggeredQueue(groupUUID string) string { FILE: v1/backends/amqp/amqp_test.go function init (line 18) | func init() { function TestGroupCompleted (line 56) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 109) | func TestGetState(t *testing.T) { function TestPurgeState (line 157) | func TestPurgeState(t *testing.T) { FILE: v1/backends/dynamodb/dynamodb.go constant BatchItemsLimit (line 23) | BatchItemsLimit = 99 constant MaxFetchAttempts (line 24) | MaxFetchAttempts = 3 type Backend (line 28) | type Backend struct method InitGroup (line 56) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 82) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 103) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 113) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 148) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 155) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 161) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 167) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 173) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 180) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 187) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method getStates (line 205) | func (b *Backend) getStates(tasksToFetch []string) ([]*tasks.TaskState... method batchFetchTaskStates (line 241) | func (b *Backend) batchFetchTaskStates(taskUUIDs []string) ([]*tasks.T... method PurgeState (line 289) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 307) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 324) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method lockGroupMeta (line 346) | func (b *Backend) lockGroupMeta(groupUUID string) error { method unlockGroupMeta (line 354) | func (b *Backend) unlockGroupMeta(groupUUID string) error { method updateGroupMetaLock (line 362) | func (b *Backend) updateGroupMetaLock(groupUUID string, status bool) e... method chordTriggered (line 390) | func (b *Backend) chordTriggered(groupUUID string) error { method setTaskState (line 418) | func (b *Backend) setTaskState(taskState *tasks.TaskState) error { method initTaskState (line 486) | func (b *Backend) initTaskState(taskState *tasks.TaskState) error { method updateToFailureStateWithError (line 503) | func (b *Backend) updateToFailureStateWithError(taskState *tasks.TaskS... method unmarshalGroupMetaGetItemResult (line 543) | func (b *Backend) unmarshalGroupMetaGetItemResult(result *dynamodb.Get... method unmarshalTaskStateGetItemResult (line 558) | func (b *Backend) unmarshalTaskStateGetItemResult(result *dynamodb.Get... method checkRequiredTablesIfExist (line 573) | func (b *Backend) checkRequiredTablesIfExist() error { method tableExists (line 603) | func (b *Backend) tableExists(tableName string, tableNames []*string) ... method getExpirationTime (line 612) | func (b *Backend) getExpirationTime() int64 { function New (line 35) | func New(cnf *config.Config) iface.Backend { function getUnfetchedKeys (line 622) | func getUnfetchedKeys(unprocessed *dynamodb.KeysAndAttributes) ([]string... function chunkTasks (line 635) | func chunkTasks(array []string, chunkSize int) [][]string { function min (line 646) | func min(a, b int) int { FILE: v1/backends/dynamodb/dynamodb_export_test.go type TestDynamoDBClient (line 26) | type TestDynamoDBClient struct method ResetOverrides (line 34) | func (t *TestDynamoDBClient) ResetOverrides() { method PutItem (line 40) | func (t *TestDynamoDBClient) PutItem(input *dynamodb.PutItemInput) (*d... method BatchGetItem (line 46) | func (t *TestDynamoDBClient) BatchGetItem(input *dynamodb.BatchGetItem... method GetItem (line 53) | func (t *TestDynamoDBClient) GetItem(input *dynamodb.GetItemInput) (*d... method DeleteItem (line 125) | func (t *TestDynamoDBClient) DeleteItem(*dynamodb.DeleteItemInput) (*d... method UpdateItem (line 129) | func (t *TestDynamoDBClient) UpdateItem(input *dynamodb.UpdateItemInpu... method ListTables (line 136) | func (t *TestDynamoDBClient) ListTables(*dynamodb.ListTablesInput) (*d... type TestErrDynamoDBClient (line 146) | type TestErrDynamoDBClient struct method PutItem (line 150) | func (t *TestErrDynamoDBClient) PutItem(*dynamodb.PutItemInput) (*dyna... method GetItem (line 154) | func (t *TestErrDynamoDBClient) GetItem(*dynamodb.GetItemInput) (*dyna... method DeleteItem (line 158) | func (t *TestErrDynamoDBClient) DeleteItem(*dynamodb.DeleteItemInput) ... method Scan (line 162) | func (t *TestErrDynamoDBClient) Scan(*dynamodb.ScanInput) (*dynamodb.S... method UpdateItem (line 166) | func (t *TestErrDynamoDBClient) UpdateItem(*dynamodb.UpdateItemInput) ... method ListTables (line 170) | func (t *TestErrDynamoDBClient) ListTables(*dynamodb.ListTablesInput) ... function init (line 174) | func init() { method GetConfig (line 195) | func (b *Backend) GetConfig() *config.Config { method GetClient (line 199) | func (b *Backend) GetClient() dynamodbiface.DynamoDBAPI { method GetGroupMetaForTest (line 203) | func (b *Backend) GetGroupMetaForTest(groupUUID string) (*tasks.GroupMet... method UnmarshalGroupMetaGetItemResultForTest (line 207) | func (b *Backend) UnmarshalGroupMetaGetItemResultForTest(result *dynamod... method UnmarshalTaskStateGetItemResultForTest (line 211) | func (b *Backend) UnmarshalTaskStateGetItemResultForTest(result *dynamod... method SetTaskStateForTest (line 215) | func (b *Backend) SetTaskStateForTest(taskState *tasks.TaskState) error { method ChordTriggeredForTest (line 219) | func (b *Backend) ChordTriggeredForTest(groupUUID string) error { method UpdateGroupMetaLockForTest (line 223) | func (b *Backend) UpdateGroupMetaLockForTest(groupUUID string, status bo... method UnlockGroupMetaForTest (line 227) | func (b *Backend) UnlockGroupMetaForTest(groupUUID string) error { method LockGroupMetaForTest (line 231) | func (b *Backend) LockGroupMetaForTest(groupUUID string) error { method GetStatesForTest (line 235) | func (b *Backend) GetStatesForTest(taskUUIDs ...string) ([]*tasks.TaskSt... method UpdateToFailureStateWithErrorForTest (line 239) | func (b *Backend) UpdateToFailureStateWithErrorForTest(taskState *tasks.... method TableExistsForTest (line 243) | func (b *Backend) TableExistsForTest(tableName string, tableNames []*str... method CheckRequiredTablesIfExistForTest (line 247) | func (b *Backend) CheckRequiredTablesIfExistForTest() error { FILE: v1/backends/dynamodb/dynamodb_test.go function TestNew (line 18) | func TestNew(t *testing.T) { function TestInitGroup (line 24) | func TestInitGroup(t *testing.T) { function assertTTLValue (line 56) | func assertTTLValue(t *testing.T, expectedTTLTime time.Time, actualEncod... function TestGroupCompleted (line 63) | func TestGroupCompleted(t *testing.T) { function TestGroupCompletedReturnsError (line 90) | func TestGroupCompletedReturnsError(t *testing.T) { function TestGroupCompletedReturnsFalse (line 102) | func TestGroupCompletedReturnsFalse(t *testing.T) { function TestGroupCompletedRetries (line 124) | func TestGroupCompletedRetries(t *testing.T) { function TestGroupCompletedRetrieSuccess (line 155) | func TestGroupCompletedRetrieSuccess(t *testing.T) { function TestPrivateFuncGetGroupMeta (line 200) | func TestPrivateFuncGetGroupMeta(t *testing.T) { function TestPrivateFuncUnmarshalTaskStateGetItemResult (line 219) | func TestPrivateFuncUnmarshalTaskStateGetItemResult(t *testing.T) { function TestPrivateFuncUnmarshalGroupMetaGetItemResult (line 272) | func TestPrivateFuncUnmarshalGroupMetaGetItemResult(t *testing.T) { function TestPrivateFuncSetTaskState (line 348) | func TestPrivateFuncSetTaskState(t *testing.T) { function verifyUpdateInput (line 366) | func verifyUpdateInput(t *testing.T, input *awsdynamodb.UpdateItemInput,... function TestSetStateSuccess (line 382) | func TestSetStateSuccess(t *testing.T) { function TestSetStateFailure (line 402) | func TestSetStateFailure(t *testing.T) { function TestSetStateReceived (line 422) | func TestSetStateReceived(t *testing.T) { function TestSetStateStarted (line 441) | func TestSetStateStarted(t *testing.T) { function TestSetStateRetry (line 460) | func TestSetStateRetry(t *testing.T) { function TestGroupTaskStates (line 479) | func TestGroupTaskStates(t *testing.T) { function TestTriggerChord (line 538) | func TestTriggerChord(t *testing.T) { function TestGetState (line 545) | func TestGetState(t *testing.T) { function TestPurgeState (line 571) | func TestPurgeState(t *testing.T) { function TestPurgeGroupMeta (line 580) | func TestPurgeGroupMeta(t *testing.T) { function TestPrivateFuncLockGroupMeta (line 589) | func TestPrivateFuncLockGroupMeta(t *testing.T) { function TestPrivateFuncUnLockGroupMeta (line 597) | func TestPrivateFuncUnLockGroupMeta(t *testing.T) { function TestPrivateFuncChordTriggered (line 605) | func TestPrivateFuncChordTriggered(t *testing.T) { function TestDynamoDBPrivateFuncUpdateGroupMetaLock (line 613) | func TestDynamoDBPrivateFuncUpdateGroupMetaLock(t *testing.T) { function TestPrivateFuncUpdateToFailureStateWithError (line 621) | func TestPrivateFuncUpdateToFailureStateWithError(t *testing.T) { function TestPrivateFuncTableExistsForTest (line 637) | func TestPrivateFuncTableExistsForTest(t *testing.T) { function TestPrivateFuncCheckRequiredTablesIfExistForTest (line 643) | func TestPrivateFuncCheckRequiredTablesIfExistForTest(t *testing.T) { FILE: v1/backends/eager/eager.go type ErrGroupNotFound (line 16) | type ErrGroupNotFound struct method Error (line 26) | func (e ErrGroupNotFound) Error() string { function NewErrGroupNotFound (line 21) | func NewErrGroupNotFound(groupUUID string) ErrGroupNotFound { type ErrTasknotFound (line 31) | type ErrTasknotFound struct method Error (line 41) | func (e ErrTasknotFound) Error() string { function NewErrTasknotFound (line 36) | func NewErrTasknotFound(taskUUID string) ErrTasknotFound { type Backend (line 46) | type Backend struct method InitGroup (line 63) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 73) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 95) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 118) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 123) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 129) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 135) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 141) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 147) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 153) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 159) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 176) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 187) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 197) | func (b *Backend) updateState(s *tasks.TaskState) error { function New (line 54) | func New() iface.Backend { FILE: v1/backends/eager/eager_test.go type EagerBackendTestSuite (line 13) | type EagerBackendTestSuite struct method SetupSuite (line 24) | func (s *EagerBackendTestSuite) SetupSuite() { method TestInitGroup (line 78) | func (s *EagerBackendTestSuite) TestInitGroup() { method TestGroupCompleted (line 92) | func (s *EagerBackendTestSuite) TestGroupCompleted() { method TestGroupTaskStates (line 149) | func (s *EagerBackendTestSuite) TestGroupTaskStates() { method TestSetStatePending (line 182) | func (s *EagerBackendTestSuite) TestSetStatePending() { method TestSetStateReceived (line 201) | func (s *EagerBackendTestSuite) TestSetStateReceived() { method TestSetStateStarted (line 214) | func (s *EagerBackendTestSuite) TestSetStateStarted() { method TestSetStateSuccess (line 227) | func (s *EagerBackendTestSuite) TestSetStateSuccess() { method TestSetStateFailure (line 247) | func (s *EagerBackendTestSuite) TestSetStateFailure() { method TestSetStateRetry (line 261) | func (s *EagerBackendTestSuite) TestSetStateRetry() { method TestGetState (line 274) | func (s *EagerBackendTestSuite) TestGetState() { method TestPurgeState (line 281) | func (s *EagerBackendTestSuite) TestPurgeState() { method TestPurgeGroupMeta (line 304) | func (s *EagerBackendTestSuite) TestPurgeGroupMeta() { method getTaskSignature (line 330) | func (s *EagerBackendTestSuite) getTaskSignature(taskUUID string) *tas... function TestEagerBackendMain (line 340) | func TestEagerBackendMain(t *testing.T) { FILE: v1/backends/iface/interfaces.go type Backend (line 8) | type Backend interface FILE: v1/backends/memcache/memcache.go type Backend (line 18) | type Backend struct method InitGroup (line 33) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 53) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 75) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 88) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 130) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 136) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 142) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 148) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 154) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 160) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 166) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 183) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 188) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 193) | func (b *Backend) updateState(taskState *tasks.TaskState) error { method lockGroupMeta (line 207) | func (b *Backend) lockGroupMeta(groupMeta *tasks.GroupMeta) error { method unlockGroupMeta (line 222) | func (b *Backend) unlockGroupMeta(groupMeta *tasks.GroupMeta) error { method getGroupMeta (line 237) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method getStates (line 254) | func (b *Backend) getStates(taskUUIDs ...string) ([]*tasks.TaskState, ... method getExpirationTimestamp (line 277) | func (b *Backend) getExpirationTimestamp() int32 { method getClient (line 287) | func (b *Backend) getClient() *gomemcache.Client { function New (line 25) | func New(cnf *config.Config, servers []string) iface.Backend { FILE: v1/backends/memcache/memcache_test.go function TestGroupCompleted (line 14) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 73) | func TestGetState(t *testing.T) { function TestPurgeState (line 120) | func TestPurgeState(t *testing.T) { FILE: v1/backends/mongo/mongodb.go type Backend (line 24) | type Backend struct method InitGroup (line 43) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 54) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 76) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 89) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 113) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 123) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 129) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 135) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 141) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method decodeResults (line 151) | func (b *Backend) decodeResults(results []*tasks.TaskResult) []*tasks.... method SetStateFailure (line 173) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 179) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 190) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 196) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method lockGroupMeta (line 202) | func (b *Backend) lockGroupMeta(groupUUID string) error { method unlockGroupMeta (line 219) | func (b *Backend) unlockGroupMeta(groupUUID string) error { method getGroupMeta (line 226) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method getStates (line 238) | func (b *Backend) getStates(taskUUIDs ...string) ([]*tasks.TaskState, ... method updateState (line 260) | func (b *Backend) updateState(signature *tasks.Signature, update bson.... method tasksCollection (line 266) | func (b *Backend) tasksCollection() *mongo.Collection { method groupMetasCollection (line 274) | func (b *Backend) groupMetasCollection() *mongo.Collection { method connect (line 284) | func (b *Backend) connect() error { method dial (line 309) | func (b *Backend) dial() (*mongo.Client, error) { method createMongoIndexes (line 337) | func (b *Backend) createMongoIndexes(database string) error { function New (line 33) | func New(cnf *config.Config) (iface.Backend, error) { FILE: v1/backends/mongo/mongodb_test.go function newBackend (line 19) | func newBackend() (iface.Backend, error) { function TestNew (line 40) | func TestNew(t *testing.T) { function TestSetStatePending (line 51) | func TestSetStatePending(t *testing.T) { function TestSetStateReceived (line 72) | func TestSetStateReceived(t *testing.T) { function TestSetStateStarted (line 93) | func TestSetStateStarted(t *testing.T) { function TestSetStateSuccess (line 114) | func TestSetStateSuccess(t *testing.T) { function TestSetStateFailure (line 146) | func TestSetStateFailure(t *testing.T) { function TestGroupCompleted (line 170) | func TestGroupCompleted(t *testing.T) { function TestGroupStates (line 232) | func TestGroupStates(t *testing.T) { FILE: v1/backends/null/null.go type ErrGroupNotFound (line 13) | type ErrGroupNotFound struct method Error (line 23) | func (e ErrGroupNotFound) Error() string { function NewErrGroupNotFound (line 18) | func NewErrGroupNotFound(groupUUID string) ErrGroupNotFound { type ErrTasknotFound (line 28) | type ErrTasknotFound struct method Error (line 38) | func (e ErrTasknotFound) Error() string { function NewErrTasknotFound (line 33) | func NewErrTasknotFound(taskUUID string) ErrTasknotFound { type Backend (line 43) | type Backend struct method InitGroup (line 57) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 63) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 73) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 84) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 89) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 95) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 101) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 107) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 113) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 119) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 125) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 130) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 135) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 144) | func (b *Backend) updateState(s *tasks.TaskState) error { function New (line 49) | func New() iface.Backend { FILE: v1/backends/redis/goredis.go type BackendGR (line 23) | type BackendGR struct method InitGroup (line 77) | func (b *BackendGR) InitGroup(groupUUID string, taskUUIDs []string) er... method GroupCompleted (line 99) | func (b *BackendGR) GroupCompleted(groupUUID string, groupTaskCount in... method GroupTaskStates (line 121) | func (b *BackendGR) GroupTaskStates(groupUUID string, groupTaskCount i... method TriggerChord (line 134) | func (b *BackendGR) TriggerChord(groupUUID string) (bool, error) { method mergeNewTaskState (line 169) | func (b *BackendGR) mergeNewTaskState(newState *tasks.TaskState) { method SetStatePending (line 178) | func (b *BackendGR) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 184) | func (b *BackendGR) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 191) | func (b *BackendGR) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 198) | func (b *BackendGR) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 205) | func (b *BackendGR) SetStateSuccess(signature *tasks.Signature, result... method SetStateFailure (line 212) | func (b *BackendGR) SetStateFailure(signature *tasks.Signature, err st... method GetState (line 219) | func (b *BackendGR) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 236) | func (b *BackendGR) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 246) | func (b *BackendGR) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 256) | func (b *BackendGR) getGroupMeta(groupUUID string) (*tasks.GroupMeta, ... method getStates (line 273) | func (b *BackendGR) getStates(taskUUIDs ...string) ([]*tasks.TaskState... method updateState (line 304) | func (b *BackendGR) updateState(taskState *tasks.TaskState) error { method getExpiration (line 320) | func (b *BackendGR) getExpiration() time.Duration { function NewGR (line 36) | func NewGR(cnf *config.Config, addrs []string, db int) iface.Backend { FILE: v1/backends/redis/goredis_test.go function getRedisG (line 15) | func getRedisG() iface.Backend { function TestGroupCompletedGR (line 26) | func TestGroupCompletedGR(t *testing.T) { function TestGetStateGR (line 83) | func TestGetStateGR(t *testing.T) { function TestPurgeStateGR (line 141) | func TestPurgeStateGR(t *testing.T) { FILE: v1/backends/redis/redis.go type Backend (line 22) | type Backend struct method InitGroup (line 49) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 74) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 99) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 115) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method mergeNewTaskState (line 153) | func (b *Backend) mergeNewTaskState(conn redis.Conn, newState *tasks.T... method SetStatePending (line 162) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 171) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 181) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 191) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 201) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 211) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 221) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method getState (line 228) | func (b *Backend) getState(conn redis.Conn, taskUUID string) (*tasks.T... method PurgeState (line 244) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 257) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 270) | func (b *Backend) getGroupMeta(conn redis.Conn, groupUUID string) (*ta... method getStates (line 288) | func (b *Backend) getStates(conn redis.Conn, taskUUIDs ...string) ([]*... method updateState (line 323) | func (b *Backend) updateState(conn redis.Conn, taskState *tasks.TaskSt... method getExpiration (line 339) | func (b *Backend) getExpiration() time.Duration { method open (line 350) | func (b *Backend) open() redis.Conn { function New (line 37) | func New(cnf *config.Config, host, username, password, socketPath string... FILE: v1/backends/redis/redis_test.go function TestGroupCompleted (line 13) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 73) | func TestGetState(t *testing.T) { function TestPurgeState (line 134) | func TestPurgeState(t *testing.T) { FILE: v1/backends/result/async_result.go type AsyncResult (line 20) | type AsyncResult struct method Touch (line 74) | func (asyncResult *AsyncResult) Touch() ([]reflect.Value, error) { method Get (line 98) | func (asyncResult *AsyncResult) Get(sleepDuration time.Duration) ([]re... method GetWithTimeout (line 111) | func (asyncResult *AsyncResult) GetWithTimeout(timeoutDuration, sleepD... method GetState (line 131) | func (asyncResult *AsyncResult) GetState() *tasks.TaskState { type ChordAsyncResult (line 27) | type ChordAsyncResult struct method Get (line 166) | func (chordAsyncResult *ChordAsyncResult) Get(sleepDuration time.Durat... method GetWithTimeout (line 223) | func (chordAsyncResult *ChordAsyncResult) GetWithTimeout(timeoutDurati... type ChainAsyncResult (line 34) | type ChainAsyncResult struct method Get (line 145) | func (chainAsyncResult *ChainAsyncResult) Get(sleepDuration time.Durat... method GetWithTimeout (line 183) | func (chainAsyncResult *ChainAsyncResult) GetWithTimeout(timeoutDurati... function NewAsyncResult (line 40) | func NewAsyncResult(signature *tasks.Signature, backend iface.Backend) *... function NewChordAsyncResult (line 49) | func NewChordAsyncResult(groupTasks []*tasks.Signature, chordCallback *t... function NewChainAsyncResult (line 62) | func NewChainAsyncResult(tasks []*tasks.Signature, backend iface.Backend... FILE: v1/brokers/amqp/amqp.go type AMQPConnection (line 21) | type AMQPConnection struct type Broker (line 32) | type Broker struct method StartConsuming (line 47) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 109) | func (b *Broker) StopConsuming() { method GetOrOpenConnection (line 118) | func (b *Broker) GetOrOpenConnection(queueName string, queueBindingKey... method CloseConnections (line 169) | func (b *Broker) CloseConnections() error { method Publish (line 185) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consume (line 254) | func (b *Broker) consume(deliveries <-chan amqp.Delivery, concurrency ... method consumeOne (line 304) | func (b *Broker) consumeOne(delivery amqp.Delivery, taskProcessor ifac... method delay (line 345) | func (b *Broker) delay(signature *tasks.Signature, delayMs int64) error { method isDirectExchange (line 429) | func (b *Broker) isDirectExchange() bool { method AdjustRoutingKey (line 437) | func (b *Broker) AdjustRoutingKey(s *tasks.Signature) { method GetPendingTasks (line 471) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... function New (line 42) | func New(cnf *config.Config) iface.Broker { type sigDumper (line 453) | type sigDumper struct method Process (line 458) | func (s *sigDumper) Process(sig *tasks.Signature) error { method CustomQueue (line 463) | func (s *sigDumper) CustomQueue() string { method PreConsumeHandler (line 467) | func (_ *sigDumper) PreConsumeHandler() bool { FILE: v1/brokers/amqp/amqp_concurrence_test.go type doNothingProcessor (line 13) | type doNothingProcessor struct method Process (line 15) | func (_ doNothingProcessor) Process(signature *tasks.Signature) error { method CustomQueue (line 19) | func (_ doNothingProcessor) CustomQueue() string { method PreConsumeHandler (line 23) | func (_ doNothingProcessor) PreConsumeHandler() bool { function TestConsume (line 27) | func TestConsume(t *testing.T) { FILE: v1/brokers/amqp/amqp_test.go function TestAdjustRoutingKey (line 13) | func TestAdjustRoutingKey(t *testing.T) { FILE: v1/brokers/eager/eager.go type Broker (line 16) | type Broker struct method StartConsuming (line 32) | func (eagerBroker *Broker) StartConsuming(consumerTag string, concurre... method StopConsuming (line 37) | func (eagerBroker *Broker) StopConsuming() { method Publish (line 42) | func (eagerBroker *Broker) Publish(ctx context.Context, task *tasks.Si... method AssignWorker (line 66) | func (eagerBroker *Broker) AssignWorker(w iface.TaskProcessor) { function New (line 22) | func New() iface.Broker { type Mode (line 27) | type Mode interface FILE: v1/brokers/errs/errors.go type ErrCouldNotUnmarshalTaskSignature (line 9) | type ErrCouldNotUnmarshalTaskSignature struct method Error (line 15) | func (e ErrCouldNotUnmarshalTaskSignature) Error() string { function NewErrCouldNotUnmarshalTaskSignature (line 20) | func NewErrCouldNotUnmarshalTaskSignature(msg []byte, err error) ErrCoul... FILE: v1/brokers/gcppubsub/gcp_pubsub.go type Broker (line 19) | type Broker struct method StartConsuming (line 85) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 122) | func (b *Broker) StopConsuming() { method Publish (line 131) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consumeOne (line 168) | func (b *Broker) consumeOne(delivery *pubsub.Message, taskProcessor if... function New (line 30) | func New(cnf *config.Config, projectID, subscriptionName string) (iface.... FILE: v1/brokers/iface/interfaces.go type Broker (line 11) | type Broker interface type TaskProcessor (line 25) | type TaskProcessor interface FILE: v1/brokers/redis/goredis.go type BrokerGR (line 26) | type BrokerGR struct method StartConsuming (line 84) | func (b *BrokerGR) StartConsuming(consumerTag string, concurrency int,... method StopConsuming (line 185) | func (b *BrokerGR) StopConsuming() { method Publish (line 196) | func (b *BrokerGR) Publish(ctx context.Context, signature *tasks.Signa... method GetPendingTasks (line 222) | func (b *BrokerGR) GetPendingTasks(queue string) ([]*tasks.Signature, ... method GetDelayedTasks (line 246) | func (b *BrokerGR) GetDelayedTasks() ([]*tasks.Signature, error) { method consume (line 267) | func (b *BrokerGR) consume(deliveries <-chan []byte, concurrency int, ... method consumeOne (line 312) | func (b *BrokerGR) consumeOne(delivery []byte, taskProcessor iface.Tas... method nextTask (line 338) | func (b *BrokerGR) nextTask(queue string) (result []byte, err error) { method nextDelayedTask (line 366) | func (b *BrokerGR) nextDelayedTask(key string) (result []byte, err err... function NewGR (line 40) | func NewGR(cnf *config.Config, addrs []string, db int) iface.Broker { function getQueueGR (line 433) | func getQueueGR(config *config.Config, taskProcessor iface.TaskProcessor... FILE: v1/brokers/redis/redis.go constant defaultRedisDelayedTasksKey (line 25) | defaultRedisDelayedTasksKey = "delayed_tasks" type Broker (line 28) | type Broker struct method StartConsuming (line 65) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 184) | func (b *Broker) StopConsuming() { method Publish (line 199) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method GetPendingTasks (line 228) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... method GetDelayedTasks (line 258) | func (b *Broker) GetDelayedTasks() ([]*tasks.Signature, error) { method consume (line 286) | func (b *Broker) consume(deliveries <-chan []byte, concurrency int, ta... method consumeOne (line 340) | func (b *Broker) consumeOne(delivery []byte, taskProcessor iface.TaskP... method nextTask (line 365) | func (b *Broker) nextTask(queue string) (result []byte, err error) { method nextDelayedTask (line 403) | func (b *Broker) nextDelayedTask(key string) (result []byte, err error) { method open (line 478) | func (b *Broker) open() redis.Conn { method requeueMessage (line 495) | func (b *Broker) requeueMessage(delivery []byte, taskProcessor iface.T... function New (line 47) | func New(cnf *config.Config, host, username, password, socketPath string... function getQueue (line 487) | func getQueue(config *config.Config, taskProcessor iface.TaskProcessor) ... FILE: v1/brokers/sqs/sqs.go constant maxAWSSQSDelay (line 26) | maxAWSSQSDelay = time.Minute * 15 type Broker (line 31) | type Broker struct method StartConsuming (line 61) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 114) | func (b *Broker) StopConsuming() { method Publish (line 127) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consume (line 181) | func (b *Broker) consume(deliveries <-chan *awssqs.ReceiveMessageOutpu... method consumeOne (line 197) | func (b *Broker) consumeOne(delivery *awssqs.ReceiveMessageOutput, tas... method deleteOne (line 243) | func (b *Broker) deleteOne(delivery *awssqs.ReceiveMessageOutput) error { method defaultQueueURL (line 257) | func (b *Broker) defaultQueueURL() *string { method receiveMessage (line 267) | func (b *Broker) receiveMessage(qURL *string) (*awssqs.ReceiveMessageO... method initializePool (line 298) | func (b *Broker) initializePool(pool chan struct{}, concurrency int) { method consumeDeliveries (line 305) | func (b *Broker) consumeDeliveries(deliveries <-chan *awssqs.ReceiveMe... method continueReceivingMessages (line 335) | func (b *Broker) continueReceivingMessages(qURL *string, deliveries ch... method stopReceiving (line 354) | func (b *Broker) stopReceiving() { method getQueueURL (line 361) | func (b *Broker) getQueueURL(taskProcessor iface.TaskProcessor) *string { function New (line 42) | func New(cnf *config.Config) iface.Broker { FILE: v1/brokers/sqs/sqs_export_test.go type FakeSQS (line 25) | type FakeSQS struct method SendMessage (line 29) | func (f *FakeSQS) SendMessage(*awssqs.SendMessageInput) (*awssqs.SendM... method ReceiveMessage (line 38) | func (f *FakeSQS) ReceiveMessage(*awssqs.ReceiveMessageInput) (*awssqs... method DeleteMessage (line 42) | func (f *FakeSQS) DeleteMessage(*awssqs.DeleteMessageInput) (*awssqs.D... type ErrorSQS (line 46) | type ErrorSQS struct method SendMessage (line 50) | func (e *ErrorSQS) SendMessage(*awssqs.SendMessageInput) (*awssqs.Send... method ReceiveMessage (line 55) | func (e *ErrorSQS) ReceiveMessage(*awssqs.ReceiveMessageInput) (*awssq... method DeleteMessage (line 60) | func (e *ErrorSQS) DeleteMessage(*awssqs.DeleteMessageInput) (*awssqs.... function init (line 65) | func init() { function NewTestConfig (line 98) | func NewTestConfig() *config.Config { function NewTestBroker (line 113) | func NewTestBroker() *Broker { function NewTestErrorBroker (line 131) | func NewTestErrorBroker() *Broker { method ConsumeForTest (line 149) | func (b *Broker) ConsumeForTest(deliveries <-chan *awssqs.ReceiveMessage... method ConsumeOneForTest (line 153) | func (b *Broker) ConsumeOneForTest(delivery *awssqs.ReceiveMessageOutput... method DeleteOneForTest (line 157) | func (b *Broker) DeleteOneForTest(delivery *awssqs.ReceiveMessageOutput)... method DefaultQueueURLForTest (line 161) | func (b *Broker) DefaultQueueURLForTest() *string { method ReceiveMessageForTest (line 165) | func (b *Broker) ReceiveMessageForTest(qURL *string) (*awssqs.ReceiveMes... method InitializePoolForTest (line 169) | func (b *Broker) InitializePoolForTest(pool chan struct{}, concurrency i... method ConsumeDeliveriesForTest (line 173) | func (b *Broker) ConsumeDeliveriesForTest(deliveries <-chan *awssqs.Rece... method ContinueReceivingMessagesForTest (line 177) | func (b *Broker) ContinueReceivingMessagesForTest(qURL *string, deliveri... method StopReceivingForTest (line 181) | func (b *Broker) StopReceivingForTest() { method GetStopReceivingChanForTest (line 185) | func (b *Broker) GetStopReceivingChanForTest() chan int { method StartConsumingForTest (line 189) | func (b *Broker) StartConsumingForTest(consumerTag string, concurrency i... method GetRetryFuncForTest (line 193) | func (b *Broker) GetRetryFuncForTest() func(chan int) { method GetStopChanForTest (line 197) | func (b *Broker) GetStopChanForTest() chan int { method GetRetryStopChanForTest (line 201) | func (b *Broker) GetRetryStopChanForTest() chan int { method GetQueueURLForTest (line 205) | func (b *Broker) GetQueueURLForTest(taskProcessor iface.TaskProcessor) *... method GetCustomQueueURL (line 209) | func (b *Broker) GetCustomQueueURL(customQueue string) *string { FILE: v1/brokers/sqs/sqs_test.go function init (line 26) | func init() { function TestNewAWSSQSBroker (line 31) | func TestNewAWSSQSBroker(t *testing.T) { function TestPrivateFunc_continueReceivingMessages (line 39) | func TestPrivateFunc_continueReceivingMessages(t *testing.T) { function TestPrivateFunc_consume (line 88) | func TestPrivateFunc_consume(t *testing.T) { function TestPrivateFunc_consumeOne (line 108) | func TestPrivateFunc_consumeOne(t *testing.T) { function TestPrivateFunc_initializePool (line 134) | func TestPrivateFunc_initializePool(t *testing.T) { function TestPrivateFunc_startConsuming (line 144) | func TestPrivateFunc_startConsuming(t *testing.T) { function TestPrivateFuncDefaultQueueURL (line 165) | func TestPrivateFuncDefaultQueueURL(t *testing.T) { function TestPrivateFunc_stopReceiving (line 174) | func TestPrivateFunc_stopReceiving(t *testing.T) { function TestPrivateFunc_receiveMessage (line 184) | func TestPrivateFunc_receiveMessage(t *testing.T) { function TestPrivateFunc_consumeDeliveries (line 194) | func TestPrivateFunc_consumeDeliveries(t *testing.T) { function TestPrivateFunc_deleteOne (line 254) | func TestPrivateFunc_deleteOne(t *testing.T) { function Test_CustomQueueName (line 266) | func Test_CustomQueueName(t *testing.T) { function TestPrivateFunc_consumeWithConcurrency (line 284) | func TestPrivateFunc_consumeWithConcurrency(t *testing.T) { FILE: v1/common/amqp.go type AMQPConnector (line 12) | type AMQPConnector struct method Connect (line 16) | func (ac *AMQPConnector) Connect(urls string, urlSeparator string, tls... method DeleteQueue (line 91) | func (ac *AMQPConnector) DeleteQueue(channel *amqp.Channel, queueName ... method InspectQueue (line 104) | func (*AMQPConnector) InspectQueue(channel *amqp.Channel, queueName st... method Open (line 114) | func (ac *AMQPConnector) Open(url string, tlsConfig *tls.Config) (*amq... method Close (line 133) | func (ac *AMQPConnector) Close(channel *amqp.Channel, conn *amqp.Conne... FILE: v1/common/backend.go type Backend (line 8) | type Backend struct method GetConfig (line 18) | func (b *Backend) GetConfig() *config.Config { method IsAMQP (line 23) | func (b *Backend) IsAMQP() bool { function NewBackend (line 13) | func NewBackend(cnf *config.Config) Backend { FILE: v1/common/broker.go type registeredTaskNames (line 14) | type registeredTaskNames struct type Broker (line 20) | type Broker struct method GetConfig (line 40) | func (b *Broker) GetConfig() *config.Config { method GetRetry (line 45) | func (b *Broker) GetRetry() bool { method GetRetryFunc (line 50) | func (b *Broker) GetRetryFunc() func(chan int) { method GetRetryStopChan (line 55) | func (b *Broker) GetRetryStopChan() chan int { method GetStopChan (line 60) | func (b *Broker) GetStopChan() chan int { method Publish (line 65) | func (b *Broker) Publish(signature *tasks.Signature) error { method SetRegisteredTaskNames (line 70) | func (b *Broker) SetRegisteredTaskNames(names []string) { method IsTaskRegistered (line 77) | func (b *Broker) IsTaskRegistered(name string) bool { method GetPendingTasks (line 89) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... method GetDelayedTasks (line 94) | func (b *Broker) GetDelayedTasks() ([]*tasks.Signature, error) { method StartConsuming (line 99) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 107) | func (b *Broker) StopConsuming() { method GetRegisteredTaskNames (line 122) | func (b *Broker) GetRegisteredTaskNames() []string { method AdjustRoutingKey (line 133) | func (b *Broker) AdjustRoutingKey(s *tasks.Signature) { function NewBroker (line 30) | func NewBroker(cnf *config.Config) Broker { FILE: v1/common/broker_test.go function TestIsTaskRegistered (line 13) | func TestIsTaskRegistered(t *testing.T) { function TestAdjustRoutingKey (line 23) | func TestAdjustRoutingKey(t *testing.T) { function TestGetRegisteredTaskNames (line 50) | func TestGetRegisteredTaskNames(t *testing.T) { function TestStopConsuming (line 59) | func TestStopConsuming(t *testing.T) { FILE: v1/common/redis.go type RedisConnector (line 27) | type RedisConnector struct method NewPool (line 30) | func (rc *RedisConnector) NewPool(socketPath, host, username, password... method open (line 66) | func (rc *RedisConnector) open(socketPath, host, username string, pass... FILE: v1/config/config.go constant DefaultResultsExpireIn (line 17) | DefaultResultsExpireIn = 3600 type Config (line 55) | type Config struct type QueueBindingArgs (line 74) | type QueueBindingArgs method Decode (line 174) | func (args *QueueBindingArgs) Decode(value string) error { type QueueDeclareArgs (line 77) | type QueueDeclareArgs type AMQPConfig (line 80) | type AMQPConfig struct type DynamoDBConfig (line 92) | type DynamoDBConfig struct type SQSConfig (line 99) | type SQSConfig struct type RedisConfig (line 108) | type RedisConfig struct type GCPPubSubConfig (line 161) | type GCPPubSubConfig struct type MongoDBConfig (line 167) | type MongoDBConfig struct FILE: v1/config/env.go function NewFromEnvironment (line 10) | func NewFromEnvironment() (*Config, error) { function fromEnvironment (line 21) | func fromEnvironment() (*Config, error) { FILE: v1/config/env_test.go function TestNewFromEnvironment (line 13) | func TestNewFromEnvironment(t *testing.T) { FILE: v1/config/file.go function NewFromYaml (line 13) | func NewFromYaml(cnfPath string, keepReloading bool) (*Config, error) { function ReadFromFile (line 44) | func ReadFromFile(cnfPath string) ([]byte, error) { function fromFile (line 63) | func fromFile(cnfPath string) (*Config, error) { FILE: v1/config/file_test.go function TestReadFromFile (line 46) | func TestReadFromFile(t *testing.T) { function TestNewFromYaml (line 57) | func TestNewFromYaml(t *testing.T) { FILE: v1/factories.go function BrokerFactory (line 37) | func BrokerFactory(cnf *config.Config) (brokeriface.Broker, error) { function BackendFactory (line 113) | func BackendFactory(cnf *config.Config) (backendiface.Backend, error) { function ParseRedisURL (line 188) | func ParseRedisURL(url string) (host, username, password string, db int,... function ParseBrokers (line 227) | func ParseBrokers(brokers []string) (int, []string) { function LockFactory (line 245) | func LockFactory(cnf *config.Config) (lockiface.Lock, error) { function ParseRedisSocketURL (line 269) | func ParseRedisSocketURL(url string) (path, username, password string, d... function ParseGCPPubSubURL (line 322) | func ParseGCPPubSubURL(url string) (string, string, error) { FILE: v1/factories_test.go function TestBrokerFactory (line 94) | func TestBrokerFactory(t *testing.T) { function brokerEqual (line 233) | func brokerEqual(x, y brokeriface.Broker) bool { function TestBrokerFactoryError (line 255) | func TestBrokerFactoryError(t *testing.T) { function TestBackendFactory (line 295) | func TestBackendFactory(t *testing.T) { function TestBackendFactoryError (line 397) | func TestBackendFactoryError(t *testing.T) { function TestParseRedisURL (line 415) | func TestParseRedisURL(t *testing.T) { function TestParseRedisSocketURL (line 439) | func TestParseRedisSocketURL(t *testing.T) { FILE: v1/locks/eager/eager.go type Lock (line 13) | type Lock struct method LockWithRetries (line 35) | func (e *Lock) LockWithRetries(key string, value int64) error { method Lock (line 48) | func (e *Lock) Lock(key string, value int64) error { function New (line 22) | func New() *Lock { FILE: v1/locks/eager/eager_test.go function TestLock_Lock (line 11) | func TestLock_Lock(t *testing.T) { function TestLock_LockWithRetries (line 25) | func TestLock_LockWithRetries(t *testing.T) { function TestNew (line 39) | func TestNew(t *testing.T) { FILE: v1/locks/iface/interfaces.go type Lock (line 3) | type Lock interface FILE: v1/locks/redis/redis.go type Lock (line 18) | type Lock struct method LockWithRetries (line 52) | func (r Lock) LockWithRetries(key string, unixTsToExpireNs int64) error { method Lock (line 65) | func (r Lock) Lock(key string, unixTsToExpireNs int64) error { function New (line 24) | func New(cnf *config.Config, addrs []string, db, retries int) Lock { FILE: v1/log/log.go function Set (line 23) | func Set(l logging.LoggerInterface) { function SetDebug (line 32) | func SetDebug(l logging.LoggerInterface) { function SetInfo (line 37) | func SetInfo(l logging.LoggerInterface) { function SetWarning (line 42) | func SetWarning(l logging.LoggerInterface) { function SetError (line 47) | func SetError(l logging.LoggerInterface) { function SetFatal (line 52) | func SetFatal(l logging.LoggerInterface) { FILE: v1/log/log_test.go function TestDefaultLogger (line 9) | func TestDefaultLogger(t *testing.T) { FILE: v1/retry/fibonacci.go function Fibonacci (line 4) | func Fibonacci() func() int { function FibonacciNext (line 13) | func FibonacciNext(start int) int { FILE: v1/retry/fibonacci_test.go function TestFibonacci (line 10) | func TestFibonacci(t *testing.T) { function TestFibonacciNext (line 25) | func TestFibonacciNext(t *testing.T) { FILE: v1/server.go type Server (line 29) | type Server struct method NewWorker (line 85) | func (server *Server) NewWorker(consumerTag string, concurrency int) *... method NewCustomQueueWorker (line 95) | func (server *Server) NewCustomQueueWorker(consumerTag string, concurr... method GetBroker (line 105) | func (server *Server) GetBroker() brokersiface.Broker { method SetBroker (line 110) | func (server *Server) SetBroker(broker brokersiface.Broker) { method GetBackend (line 115) | func (server *Server) GetBackend() backendsiface.Backend { method SetBackend (line 120) | func (server *Server) SetBackend(backend backendsiface.Backend) { method GetConfig (line 125) | func (server *Server) GetConfig() *config.Config { method SetConfig (line 130) | func (server *Server) SetConfig(cnf *config.Config) { method SetPreTaskHandler (line 135) | func (server *Server) SetPreTaskHandler(handler func(*tasks.Signature)) { method RegisterTasks (line 140) | func (server *Server) RegisterTasks(namedTaskFuncs map[string]interfac... method RegisterTask (line 156) | func (server *Server) RegisterTask(name string, taskFunc interface{}) ... method IsTaskRegistered (line 166) | func (server *Server) IsTaskRegistered(name string) bool { method GetRegisteredTask (line 172) | func (server *Server) GetRegisteredTask(name string) (interface{}, err... method SendTaskWithContext (line 181) | func (server *Server) SendTaskWithContext(ctx context.Context, signatu... method SendTask (line 216) | func (server *Server) SendTask(signature *tasks.Signature) (*result.As... method SendChainWithContext (line 221) | func (server *Server) SendChainWithContext(ctx context.Context, chain ... method SendChain (line 231) | func (server *Server) SendChain(chain *tasks.Chain) (*result.ChainAsyn... method SendGroupWithContext (line 241) | func (server *Server) SendGroupWithContext(ctx context.Context, group ... method SendGroup (line 317) | func (server *Server) SendGroup(group *tasks.Group, sendConcurrency in... method SendChordWithContext (line 322) | func (server *Server) SendChordWithContext(ctx context.Context, chord ... method SendChord (line 341) | func (server *Server) SendChord(chord *tasks.Chord, sendConcurrency in... method GetRegisteredTaskNames (line 346) | func (server *Server) GetRegisteredTaskNames() []string { method RegisterPeriodicTask (line 357) | func (server *Server) RegisterPeriodicTask(spec, name string, signatur... method RegisterPeriodicChain (line 383) | func (server *Server) RegisterPeriodicChain(spec, name string, signatu... method RegisterPeriodicGroup (line 412) | func (server *Server) RegisterPeriodicGroup(spec, name string, sendCon... method RegisterPeriodicChord (line 441) | func (server *Server) RegisterPeriodicChord(spec, name string, sendCon... function NewServerWithBrokerBackendLock (line 40) | func NewServerWithBrokerBackendLock(cnf *config.Config, brokerServer bro... function NewServer (line 57) | func NewServer(cnf *config.Config) (*Server, error) { FILE: v1/server_test.go function TestRegisterTasks (line 12) | func TestRegisterTasks(t *testing.T) { function TestRegisterTask (line 25) | func TestRegisterTask(t *testing.T) { function TestRegisterTaskInRaceCondition (line 36) | func TestRegisterTaskInRaceCondition(t *testing.T) { function TestGetRegisteredTask (line 50) | func TestGetRegisteredTask(t *testing.T) { function TestGetRegisteredTaskNames (line 58) | func TestGetRegisteredTaskNames(t *testing.T) { function TestNewWorker (line 72) | func TestNewWorker(t *testing.T) { function TestNewCustomQueueWorker (line 81) | func TestNewCustomQueueWorker(t *testing.T) { function getTestServer (line 90) | func getTestServer(t *testing.T) *machinery.Server { FILE: v1/tasks/errors.go type ErrRetryTaskLater (line 9) | type ErrRetryTaskLater struct method RetryIn (line 15) | func (e ErrRetryTaskLater) RetryIn() time.Duration { method Error (line 20) | func (e ErrRetryTaskLater) Error() string { function NewErrRetryTaskLater (line 25) | func NewErrRetryTaskLater(msg string, retryIn time.Duration) ErrRetryTas... type Retriable (line 30) | type Retriable interface FILE: v1/tasks/reflect.go type ErrUnsupportedType (line 56) | type ErrUnsupportedType struct method Error (line 66) | func (e ErrUnsupportedType) Error() string { function NewErrUnsupportedType (line 61) | func NewErrUnsupportedType(valueType string) ErrUnsupportedType { function ReflectValue (line 71) | func ReflectValue(valueType string, value interface{}) (reflect.Value, e... function reflectValue (line 81) | func reflectValue(valueType string, value interface{}) (reflect.Value, e... function reflectValues (line 148) | func reflectValues(valueType string, value interface{}) (reflect.Value, ... function getBoolValue (line 261) | func getBoolValue(theType string, value interface{}) (bool, error) { function getIntValue (line 270) | func getIntValue(theType string, value interface{}) (int64, error) { function getUintValue (line 291) | func getUintValue(theType string, value interface{}) (uint64, error) { function getFloatValue (line 321) | func getFloatValue(theType string, value interface{}) (float64, error) { function getStringValue (line 341) | func getStringValue(theType string, value interface{}) (string, error) { function IsContextType (line 351) | func IsContextType(t reflect.Type) bool { FILE: v1/tasks/reflect_test.go function TestReflectValue (line 227) | func TestReflectValue(t *testing.T) { FILE: v1/tasks/result.go type TaskResult (line 10) | type TaskResult struct function ReflectTaskResults (line 16) | func ReflectTaskResults(taskResults []*TaskResult) ([]reflect.Value, err... function HumanReadableResults (line 29) | func HumanReadableResults(results []reflect.Value) string { FILE: v1/tasks/result_test.go function TestReflectTaskResults (line 10) | func TestReflectTaskResults(t *testing.T) { FILE: v1/tasks/signature.go type Arg (line 12) | type Arg struct type Headers (line 19) | type Headers method Set (line 22) | func (h Headers) Set(key, val string) { method ForeachKey (line 29) | func (h Headers) ForeachKey(handler func(key, val string) error) error { type Signature (line 46) | type Signature struct function NewSignature (line 75) | func NewSignature(name string, args []Arg) (*Signature, error) { function CopySignatures (line 84) | func CopySignatures(signatures ...*Signature) []*Signature { function CopySignature (line 92) | func CopySignature(signature *Signature) *Signature { FILE: v1/tasks/state.go constant StatePending (line 7) | StatePending = "PENDING" constant StateReceived (line 9) | StateReceived = "RECEIVED" constant StateStarted (line 11) | StateStarted = "STARTED" constant StateRetry (line 13) | StateRetry = "RETRY" constant StateSuccess (line 15) | StateSuccess = "SUCCESS" constant StateFailure (line 17) | StateFailure = "FAILURE" type TaskState (line 21) | type TaskState struct method IsCompleted (line 97) | func (taskState *TaskState) IsCompleted() bool { method IsSuccess (line 102) | func (taskState *TaskState) IsSuccess() bool { method IsFailure (line 107) | func (taskState *TaskState) IsFailure() bool { type GroupMeta (line 34) | type GroupMeta struct function NewPendingTaskState (line 44) | func NewPendingTaskState(signature *Signature) *TaskState { function NewReceivedTaskState (line 54) | func NewReceivedTaskState(signature *Signature) *TaskState { function NewStartedTaskState (line 62) | func NewStartedTaskState(signature *Signature) *TaskState { function NewSuccessTaskState (line 70) | func NewSuccessTaskState(signature *Signature, results []*TaskResult) *T... function NewFailureTaskState (line 79) | func NewFailureTaskState(signature *Signature, err string) *TaskState { function NewRetryTaskState (line 88) | func NewRetryTaskState(signature *Signature) *TaskState { FILE: v1/tasks/state_test.go function TestTaskStateIsCompleted (line 10) | func TestTaskStateIsCompleted(t *testing.T) { FILE: v1/tasks/task.go type Task (line 22) | type Task struct method Call (line 102) | func (t *Task) Call() (taskResults []*TaskResult, err error) { method ReflectArgs (line 188) | func (t *Task) ReflectArgs(args []Arg) error { type signatureCtxType (line 29) | type signatureCtxType struct function SignatureFromContext (line 34) | func SignatureFromContext(ctx context.Context) *Signature { function NewWithSignature (line 49) | func NewWithSignature(taskFunc interface{}, signature *Signature) (*Task... function New (line 75) | func New(taskFunc interface{}, args []Arg) (*Task, error) { FILE: v1/tasks/task_test.go function TestTaskCallErrorTest (line 14) | func TestTaskCallErrorTest(t *testing.T) { function TestTaskReflectArgs (line 43) | func TestTaskReflectArgs(t *testing.T) { function TestTaskCallInvalidArgRobustnessError (line 60) | func TestTaskCallInvalidArgRobustnessError(t *testing.T) { function TestTaskCallInterfaceValuedResult (line 80) | func TestTaskCallInterfaceValuedResult(t *testing.T) { function TestTaskCallWithContext (line 95) | func TestTaskCallWithContext(t *testing.T) { function TestTaskCallWithSignatureInContext (line 111) | func TestTaskCallWithSignatureInContext(t *testing.T) { FILE: v1/tasks/validate.go function ValidateTask (line 20) | func ValidateTask(task interface{}) error { FILE: v1/tasks/validate_test.go function TestValidateTask (line 10) | func TestValidateTask(t *testing.T) { FILE: v1/tasks/workflow.go type Chain (line 10) | type Chain struct type Group (line 15) | type Group struct method GetUUIDs (line 28) | func (group *Group) GetUUIDs() []string { type Chord (line 22) | type Chord struct function NewChain (line 38) | func NewChain(signatures ...*Signature) (*Chain, error) { function NewGroup (line 59) | func NewGroup(signatures ...*Signature) (*Group, error) { function NewChord (line 82) | func NewChord(group *Group, callback *Signature) (*Chord, error) { FILE: v1/tasks/workflow_test.go function TestNewChain (line 10) | func TestNewChain(t *testing.T) { FILE: v1/tracing/tracing.go function StartSpanFromHeaders (line 23) | func StartSpanFromHeaders(headers tasks.Headers, operationName string) o... function HeadersWithSpan (line 44) | func HeadersWithSpan(headers tasks.Headers, span opentracing.Span) tasks... type consumerOption (line 57) | type consumerOption struct method Apply (line 61) | func (c consumerOption) Apply(o *opentracing.StartSpanOptions) { function ConsumerOption (line 69) | func ConsumerOption(producer opentracing.SpanContext) opentracing.StartS... type producerOption (line 73) | type producerOption struct method Apply (line 75) | func (p producerOption) Apply(o *opentracing.StartSpanOptions) { function ProducerOption (line 80) | func ProducerOption() opentracing.StartSpanOption { function AnnotateSpanWithSignatureInfo (line 85) | func AnnotateSpanWithSignatureInfo(span opentracing.Span, signature *tas... function AnnotateSpanWithChainInfo (line 101) | func AnnotateSpanWithChainInfo(span opentracing.Span, chain *tasks.Chain) { function AnnotateSpanWithGroupInfo (line 112) | func AnnotateSpanWithGroupInfo(span opentracing.Span, group *tasks.Group... function AnnotateSpanWithChordInfo (line 132) | func AnnotateSpanWithChordInfo(span opentracing.Span, chord *tasks.Chord... FILE: v1/utils/deepcopy.go function deepCopy (line 14) | func deepCopy(dst, src reflect.Value) { function DeepCopy (line 59) | func DeepCopy(dst, src interface{}) error { function DeepClone (line 79) | func DeepClone(v interface{}) interface{} { FILE: v1/utils/deepcopy_test.go function TestDeepCopy (line 9) | func TestDeepCopy(t *testing.T) { FILE: v1/utils/utils.go constant LockKeyPrefix (line 9) | LockKeyPrefix = "machinery_lock_" function GetLockName (line 12) | func GetLockName(name, spec string) string { FILE: v1/utils/utils_test.go function TestGetLockName (line 9) | func TestGetLockName(t *testing.T) { FILE: v1/utils/uuid.go function GetPureUUID (line 8) | func GetPureUUID() string { FILE: v1/utils/uuid_test.go function TestGetPureUUID (line 9) | func TestGetPureUUID(t *testing.T) { FILE: v1/worker.go type Worker (line 24) | type Worker struct method Launch (line 44) | func (worker *Worker) Launch() error { method LaunchAsync (line 53) | func (worker *Worker) LaunchAsync(errorsChan chan<- error) { method CustomQueue (line 123) | func (worker *Worker) CustomQueue() string { method Quit (line 128) | func (worker *Worker) Quit() { method Process (line 133) | func (worker *Worker) Process(signature *tasks.Signature) error { method taskRetry (line 204) | func (worker *Worker) taskRetry(signature *tasks.Signature) error { method retryTaskIn (line 228) | func (worker *Worker) retryTaskIn(signature *tasks.Signature, retryIn ... method taskSucceeded (line 247) | func (worker *Worker) taskSucceeded(signature *tasks.Signature, taskRe... method taskFailed (line 361) | func (worker *Worker) taskFailed(signature *tasks.Signature, taskErr e... method hasAMQPBackend (line 392) | func (worker *Worker) hasAMQPBackend() bool { method SetErrorHandler (line 399) | func (worker *Worker) SetErrorHandler(handler func(err error)) { method SetPreTaskHandler (line 404) | func (worker *Worker) SetPreTaskHandler(handler func(*tasks.Signature)) { method SetPostTaskHandler (line 409) | func (worker *Worker) SetPostTaskHandler(handler func(*tasks.Signature... method SetPreConsumeHandler (line 414) | func (worker *Worker) SetPreConsumeHandler(handler func(*Worker) bool) { method GetServer (line 419) | func (worker *Worker) GetServer() *Server { method PreConsumeHandler (line 424) | func (worker *Worker) PreConsumeHandler() bool { function RedactURL (line 432) | func RedactURL(urlString string) string { FILE: v1/worker_test.go function TestRedactURL (line 11) | func TestRedactURL(t *testing.T) { function TestPreConsumeHandler (line 19) | func TestPreConsumeHandler(t *testing.T) { function SamplePreConsumeHandler (line 28) | func SamplePreConsumeHandler(w *machinery.Worker) bool { FILE: v2/backends/amqp/amqp.go type Backend (line 32) | type Backend struct method InitGroup (line 43) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 50) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 66) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 119) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 135) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 141) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 147) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 153) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 159) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 174) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 190) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 243) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 254) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 267) | func (b *Backend) updateState(taskState *tasks.TaskState) error { method getExpiresIn (line 323) | func (b *Backend) getExpiresIn() int { method markTaskCompleted (line 335) | func (b *Backend) markTaskCompleted(signature *tasks.Signature, taskSt... function New (line 38) | func New(cnf *config.Config) iface.Backend { function amqmChordTriggeredQueue (line 394) | func amqmChordTriggeredQueue(groupUUID string) string { FILE: v2/backends/amqp/amqp_test.go function init (line 18) | func init() { function TestGroupCompleted (line 56) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 109) | func TestGetState(t *testing.T) { function TestPurgeState (line 157) | func TestPurgeState(t *testing.T) { FILE: v2/backends/dynamodb/dynamodb.go constant BatchItemsLimit (line 24) | BatchItemsLimit = 99 constant MaxFetchAttempts (line 25) | MaxFetchAttempts = 3 type Backend (line 29) | type Backend struct method InitGroup (line 60) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 86) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 107) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 117) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 152) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 159) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 165) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 171) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 177) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 184) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 191) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method getStates (line 209) | func (b *Backend) getStates(tasksToFetch []string) ([]*tasks.TaskState... method batchFetchTaskStates (line 245) | func (b *Backend) batchFetchTaskStates(taskUUIDs []string) ([]*tasks.T... method PurgeState (line 293) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 311) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 328) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method lockGroupMeta (line 350) | func (b *Backend) lockGroupMeta(groupUUID string) error { method unlockGroupMeta (line 358) | func (b *Backend) unlockGroupMeta(groupUUID string) error { method updateGroupMetaLock (line 366) | func (b *Backend) updateGroupMetaLock(groupUUID string, status bool) e... method chordTriggered (line 394) | func (b *Backend) chordTriggered(groupUUID string) error { method setTaskState (line 422) | func (b *Backend) setTaskState(taskState *tasks.TaskState) error { method initTaskState (line 490) | func (b *Backend) initTaskState(taskState *tasks.TaskState) error { method updateToFailureStateWithError (line 507) | func (b *Backend) updateToFailureStateWithError(taskState *tasks.TaskS... method unmarshalGroupMetaGetItemResult (line 547) | func (b *Backend) unmarshalGroupMetaGetItemResult(result *dynamodb.Get... method unmarshalTaskStateGetItemResult (line 562) | func (b *Backend) unmarshalTaskStateGetItemResult(result *dynamodb.Get... method checkRequiredTablesIfExist (line 577) | func (b *Backend) checkRequiredTablesIfExist() error { method tableExists (line 607) | func (b *Backend) tableExists(tableName string, tableNames []string) b... method getExpirationTime (line 616) | func (b *Backend) getExpirationTime() int64 { function New (line 36) | func New(cnf *config.Config) (iface.Backend, error) { function getUnfetchedKeys (line 626) | func getUnfetchedKeys(unprocessed types.KeysAndAttributes) ([]string, er... function chunkTasks (line 639) | func chunkTasks(array []string, chunkSize int) [][]string { function min (line 650) | func min(a, b int) int { FILE: v2/backends/dynamodb/dynamodb_export_test.go type TestDynamoDBClient (line 27) | type TestDynamoDBClient struct method ResetOverrides (line 35) | func (t *TestDynamoDBClient) ResetOverrides() { method PutItem (line 41) | func (t *TestDynamoDBClient) PutItem(ctx context.Context, input *dynam... method BatchGetItem (line 47) | func (t *TestDynamoDBClient) BatchGetItem(ctx context.Context, input *... method GetItem (line 54) | func (t *TestDynamoDBClient) GetItem(ctx context.Context, input *dynam... method DeleteItem (line 126) | func (t *TestDynamoDBClient) DeleteItem(ctx context.Context, input *dy... method UpdateItem (line 130) | func (t *TestDynamoDBClient) UpdateItem(ctx context.Context, input *dy... method ListTables (line 137) | func (t *TestDynamoDBClient) ListTables(ctx context.Context, input *dy... type TestErrDynamoDBClient (line 147) | type TestErrDynamoDBClient struct method PutItem (line 151) | func (t *TestErrDynamoDBClient) PutItem(context.Context, *dynamodb.Put... method GetItem (line 155) | func (t *TestErrDynamoDBClient) GetItem(context.Context, *dynamodb.Get... method DeleteItem (line 159) | func (t *TestErrDynamoDBClient) DeleteItem(context.Context, *dynamodb.... method Scan (line 163) | func (t *TestErrDynamoDBClient) Scan(context.Context, *dynamodb.ScanIn... method UpdateItem (line 167) | func (t *TestErrDynamoDBClient) UpdateItem(context.Context, *dynamodb.... method ListTables (line 171) | func (t *TestErrDynamoDBClient) ListTables(context.Context, *dynamodb.... function init (line 175) | func init() { method GetConfig (line 196) | func (b *Backend) GetConfig() *config.Config { method GetClient (line 200) | func (b *Backend) GetClient() dynamodbiface.API { method GetGroupMetaForTest (line 204) | func (b *Backend) GetGroupMetaForTest(groupUUID string) (*tasks.GroupMet... method UnmarshalGroupMetaGetItemResultForTest (line 208) | func (b *Backend) UnmarshalGroupMetaGetItemResultForTest(result *dynamod... method UnmarshalTaskStateGetItemResultForTest (line 212) | func (b *Backend) UnmarshalTaskStateGetItemResultForTest(result *dynamod... method SetTaskStateForTest (line 216) | func (b *Backend) SetTaskStateForTest(taskState *tasks.TaskState) error { method ChordTriggeredForTest (line 220) | func (b *Backend) ChordTriggeredForTest(groupUUID string) error { method UpdateGroupMetaLockForTest (line 224) | func (b *Backend) UpdateGroupMetaLockForTest(groupUUID string, status bo... method UnlockGroupMetaForTest (line 228) | func (b *Backend) UnlockGroupMetaForTest(groupUUID string) error { method LockGroupMetaForTest (line 232) | func (b *Backend) LockGroupMetaForTest(groupUUID string) error { method GetStatesForTest (line 236) | func (b *Backend) GetStatesForTest(taskUUIDs ...string) ([]*tasks.TaskSt... method UpdateToFailureStateWithErrorForTest (line 240) | func (b *Backend) UpdateToFailureStateWithErrorForTest(taskState *tasks.... method TableExistsForTest (line 244) | func (b *Backend) TableExistsForTest(tableName string, tableNames []stri... method CheckRequiredTablesIfExistForTest (line 248) | func (b *Backend) CheckRequiredTablesIfExistForTest() error { FILE: v2/backends/dynamodb/dynamodb_test.go function TestNew (line 19) | func TestNew(t *testing.T) { function TestInitGroup (line 26) | func TestInitGroup(t *testing.T) { function assertTTLValue (line 58) | func assertTTLValue(t *testing.T, expectedTTLTime time.Time, actualEncod... function TestGroupCompleted (line 65) | func TestGroupCompleted(t *testing.T) { function TestGroupCompletedReturnsError (line 92) | func TestGroupCompletedReturnsError(t *testing.T) { function TestGroupCompletedReturnsFalse (line 104) | func TestGroupCompletedReturnsFalse(t *testing.T) { function TestGroupCompletedRetries (line 126) | func TestGroupCompletedRetries(t *testing.T) { function TestGroupCompletedRetrieSuccess (line 157) | func TestGroupCompletedRetrieSuccess(t *testing.T) { function TestPrivateFuncGetGroupMeta (line 202) | func TestPrivateFuncGetGroupMeta(t *testing.T) { function TestPrivateFuncUnmarshalTaskStateGetItemResult (line 221) | func TestPrivateFuncUnmarshalTaskStateGetItemResult(t *testing.T) { function TestPrivateFuncUnmarshalGroupMetaGetItemResult (line 274) | func TestPrivateFuncUnmarshalGroupMetaGetItemResult(t *testing.T) { function TestPrivateFuncSetTaskState (line 350) | func TestPrivateFuncSetTaskState(t *testing.T) { function verifyUpdateInput (line 368) | func verifyUpdateInput(t *testing.T, input *awsdynamodb.UpdateItemInput,... function TestSetStateSuccess (line 384) | func TestSetStateSuccess(t *testing.T) { function TestSetStateFailure (line 404) | func TestSetStateFailure(t *testing.T) { function TestSetStateReceived (line 424) | func TestSetStateReceived(t *testing.T) { function TestSetStateStarted (line 443) | func TestSetStateStarted(t *testing.T) { function TestSetStateRetry (line 462) | func TestSetStateRetry(t *testing.T) { function TestGroupTaskStates (line 481) | func TestGroupTaskStates(t *testing.T) { function TestTriggerChord (line 541) | func TestTriggerChord(t *testing.T) { function TestGetState (line 548) | func TestGetState(t *testing.T) { function TestPurgeState (line 574) | func TestPurgeState(t *testing.T) { function TestPurgeGroupMeta (line 583) | func TestPurgeGroupMeta(t *testing.T) { function TestPrivateFuncLockGroupMeta (line 592) | func TestPrivateFuncLockGroupMeta(t *testing.T) { function TestPrivateFuncUnLockGroupMeta (line 600) | func TestPrivateFuncUnLockGroupMeta(t *testing.T) { function TestPrivateFuncChordTriggered (line 608) | func TestPrivateFuncChordTriggered(t *testing.T) { function TestDynamoDBPrivateFuncUpdateGroupMetaLock (line 616) | func TestDynamoDBPrivateFuncUpdateGroupMetaLock(t *testing.T) { function TestPrivateFuncUpdateToFailureStateWithError (line 624) | func TestPrivateFuncUpdateToFailureStateWithError(t *testing.T) { function TestPrivateFuncTableExistsForTest (line 640) | func TestPrivateFuncTableExistsForTest(t *testing.T) { function TestPrivateFuncCheckRequiredTablesIfExistForTest (line 646) | func TestPrivateFuncCheckRequiredTablesIfExistForTest(t *testing.T) { function validateBatchGetItemInput (line 663) | func validateBatchGetItemInput(input *awsdynamodb.BatchGetItemInput) err... FILE: v2/backends/eager/eager.go type ErrGroupNotFound (line 16) | type ErrGroupNotFound struct method Error (line 26) | func (e ErrGroupNotFound) Error() string { function NewErrGroupNotFound (line 21) | func NewErrGroupNotFound(groupUUID string) ErrGroupNotFound { type ErrTasknotFound (line 31) | type ErrTasknotFound struct method Error (line 41) | func (e ErrTasknotFound) Error() string { function NewErrTasknotFound (line 36) | func NewErrTasknotFound(taskUUID string) ErrTasknotFound { type Backend (line 46) | type Backend struct method InitGroup (line 63) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 73) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 95) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 118) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 123) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 129) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 135) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 141) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 147) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 153) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 159) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 176) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 187) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 197) | func (b *Backend) updateState(s *tasks.TaskState) error { function New (line 54) | func New() iface.Backend { FILE: v2/backends/eager/eager_test.go type EagerBackendTestSuite (line 13) | type EagerBackendTestSuite struct method SetupSuite (line 24) | func (s *EagerBackendTestSuite) SetupSuite() { method TestInitGroup (line 78) | func (s *EagerBackendTestSuite) TestInitGroup() { method TestGroupCompleted (line 92) | func (s *EagerBackendTestSuite) TestGroupCompleted() { method TestGroupTaskStates (line 149) | func (s *EagerBackendTestSuite) TestGroupTaskStates() { method TestSetStatePending (line 182) | func (s *EagerBackendTestSuite) TestSetStatePending() { method TestSetStateReceived (line 201) | func (s *EagerBackendTestSuite) TestSetStateReceived() { method TestSetStateStarted (line 214) | func (s *EagerBackendTestSuite) TestSetStateStarted() { method TestSetStateSuccess (line 227) | func (s *EagerBackendTestSuite) TestSetStateSuccess() { method TestSetStateFailure (line 247) | func (s *EagerBackendTestSuite) TestSetStateFailure() { method TestSetStateRetry (line 261) | func (s *EagerBackendTestSuite) TestSetStateRetry() { method TestGetState (line 274) | func (s *EagerBackendTestSuite) TestGetState() { method TestPurgeState (line 281) | func (s *EagerBackendTestSuite) TestPurgeState() { method TestPurgeGroupMeta (line 304) | func (s *EagerBackendTestSuite) TestPurgeGroupMeta() { method getTaskSignature (line 330) | func (s *EagerBackendTestSuite) getTaskSignature(taskUUID string) *tas... function TestEagerBackendMain (line 340) | func TestEagerBackendMain(t *testing.T) { FILE: v2/backends/iface/dynamodb/api.go type API (line 10) | type API interface FILE: v2/backends/iface/interfaces.go type Backend (line 8) | type Backend interface FILE: v2/backends/memcache/memcache.go type Backend (line 18) | type Backend struct method InitGroup (line 33) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 53) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 75) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 88) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 130) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 136) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 142) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 148) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 154) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 160) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 166) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 183) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 188) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 193) | func (b *Backend) updateState(taskState *tasks.TaskState) error { method lockGroupMeta (line 207) | func (b *Backend) lockGroupMeta(groupMeta *tasks.GroupMeta) error { method unlockGroupMeta (line 222) | func (b *Backend) unlockGroupMeta(groupMeta *tasks.GroupMeta) error { method getGroupMeta (line 237) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method getStates (line 254) | func (b *Backend) getStates(taskUUIDs ...string) ([]*tasks.TaskState, ... method getExpirationTimestamp (line 277) | func (b *Backend) getExpirationTimestamp() int32 { method getClient (line 287) | func (b *Backend) getClient() *gomemcache.Client { function New (line 25) | func New(cnf *config.Config, servers []string) iface.Backend { FILE: v2/backends/memcache/memcache_test.go function TestGroupCompleted (line 14) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 73) | func TestGetState(t *testing.T) { function TestPurgeState (line 120) | func TestPurgeState(t *testing.T) { FILE: v2/backends/mongo/mongodb.go type Backend (line 24) | type Backend struct method InitGroup (line 43) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 54) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 76) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 89) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 113) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 123) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 129) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 135) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 141) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method decodeResults (line 152) | func (b *Backend) decodeResults(results []*tasks.TaskResult) []*tasks.... method SetStateFailure (line 174) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 184) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 195) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 201) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method lockGroupMeta (line 207) | func (b *Backend) lockGroupMeta(groupUUID string) error { method unlockGroupMeta (line 224) | func (b *Backend) unlockGroupMeta(groupUUID string) error { method getGroupMeta (line 231) | func (b *Backend) getGroupMeta(groupUUID string) (*tasks.GroupMeta, er... method getStates (line 243) | func (b *Backend) getStates(taskUUIDs ...string) ([]*tasks.TaskState, ... method updateState (line 265) | func (b *Backend) updateState(signature *tasks.Signature, update bson.... method tasksCollection (line 271) | func (b *Backend) tasksCollection() *mongo.Collection { method groupMetasCollection (line 279) | func (b *Backend) groupMetasCollection() *mongo.Collection { method connect (line 289) | func (b *Backend) connect() error { method dial (line 314) | func (b *Backend) dial() (*mongo.Client, error) { method createMongoIndexes (line 342) | func (b *Backend) createMongoIndexes(database string) error { function New (line 33) | func New(cnf *config.Config) (iface.Backend, error) { FILE: v2/backends/mongo/mongodb_test.go function newBackend (line 19) | func newBackend() (iface.Backend, error) { function TestNew (line 40) | func TestNew(t *testing.T) { function TestSetStatePending (line 51) | func TestSetStatePending(t *testing.T) { function TestSetStateReceived (line 72) | func TestSetStateReceived(t *testing.T) { function TestSetStateStarted (line 93) | func TestSetStateStarted(t *testing.T) { function TestSetStateSuccess (line 114) | func TestSetStateSuccess(t *testing.T) { function TestSetStateFailure (line 146) | func TestSetStateFailure(t *testing.T) { function TestGroupCompleted (line 170) | func TestGroupCompleted(t *testing.T) { function TestGroupStates (line 232) | func TestGroupStates(t *testing.T) { FILE: v2/backends/null/null.go type ErrGroupNotFound (line 13) | type ErrGroupNotFound struct method Error (line 23) | func (e ErrGroupNotFound) Error() string { function NewErrGroupNotFound (line 18) | func NewErrGroupNotFound(groupUUID string) ErrGroupNotFound { type ErrTasknotFound (line 28) | type ErrTasknotFound struct method Error (line 38) | func (e ErrTasknotFound) Error() string { function NewErrTasknotFound (line 33) | func NewErrTasknotFound(taskUUID string) ErrTasknotFound { type Backend (line 43) | type Backend struct method InitGroup (line 57) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 63) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 73) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 84) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method SetStatePending (line 89) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 95) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 101) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 107) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 113) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 119) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 125) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 130) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 135) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method updateState (line 144) | func (b *Backend) updateState(s *tasks.TaskState) error { function New (line 49) | func New() iface.Backend { FILE: v2/backends/redis/goredis.go type BackendGR (line 23) | type BackendGR struct method InitGroup (line 83) | func (b *BackendGR) InitGroup(groupUUID string, taskUUIDs []string) er... method GroupCompleted (line 105) | func (b *BackendGR) GroupCompleted(groupUUID string, groupTaskCount in... method GroupTaskStates (line 127) | func (b *BackendGR) GroupTaskStates(groupUUID string, groupTaskCount i... method TriggerChord (line 140) | func (b *BackendGR) TriggerChord(groupUUID string) (bool, error) { method mergeNewTaskState (line 175) | func (b *BackendGR) mergeNewTaskState(newState *tasks.TaskState) { method SetStatePending (line 184) | func (b *BackendGR) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 190) | func (b *BackendGR) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 197) | func (b *BackendGR) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 204) | func (b *BackendGR) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 211) | func (b *BackendGR) SetStateSuccess(signature *tasks.Signature, result... method SetStateFailure (line 218) | func (b *BackendGR) SetStateFailure(signature *tasks.Signature, err st... method GetState (line 225) | func (b *BackendGR) GetState(taskUUID string) (*tasks.TaskState, error) { method PurgeState (line 242) | func (b *BackendGR) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 252) | func (b *BackendGR) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 262) | func (b *BackendGR) getGroupMeta(groupUUID string) (*tasks.GroupMeta, ... method getStates (line 279) | func (b *BackendGR) getStates(taskUUIDs ...string) ([]*tasks.TaskState... method updateState (line 310) | func (b *BackendGR) updateState(taskState *tasks.TaskState) error { method getExpiration (line 326) | func (b *BackendGR) getExpiration() time.Duration { function NewGR (line 36) | func NewGR(cnf *config.Config, addrs []string, db int) iface.Backend { FILE: v2/backends/redis/goredis_test.go function getRedisG (line 15) | func getRedisG() iface.Backend { function TestGroupCompletedGR (line 26) | func TestGroupCompletedGR(t *testing.T) { function TestGetStateGR (line 83) | func TestGetStateGR(t *testing.T) { function TestPurgeStateGR (line 141) | func TestPurgeStateGR(t *testing.T) { FILE: v2/backends/redis/redis.go type Backend (line 22) | type Backend struct method InitGroup (line 49) | func (b *Backend) InitGroup(groupUUID string, taskUUIDs []string) error { method GroupCompleted (line 74) | func (b *Backend) GroupCompleted(groupUUID string, groupTaskCount int)... method GroupTaskStates (line 99) | func (b *Backend) GroupTaskStates(groupUUID string, groupTaskCount int... method TriggerChord (line 115) | func (b *Backend) TriggerChord(groupUUID string) (bool, error) { method mergeNewTaskState (line 153) | func (b *Backend) mergeNewTaskState(conn redis.Conn, newState *tasks.T... method SetStatePending (line 162) | func (b *Backend) SetStatePending(signature *tasks.Signature) error { method SetStateReceived (line 171) | func (b *Backend) SetStateReceived(signature *tasks.Signature) error { method SetStateStarted (line 181) | func (b *Backend) SetStateStarted(signature *tasks.Signature) error { method SetStateRetry (line 191) | func (b *Backend) SetStateRetry(signature *tasks.Signature) error { method SetStateSuccess (line 201) | func (b *Backend) SetStateSuccess(signature *tasks.Signature, results ... method SetStateFailure (line 211) | func (b *Backend) SetStateFailure(signature *tasks.Signature, err stri... method GetState (line 221) | func (b *Backend) GetState(taskUUID string) (*tasks.TaskState, error) { method getState (line 228) | func (b *Backend) getState(conn redis.Conn, taskUUID string) (*tasks.T... method PurgeState (line 244) | func (b *Backend) PurgeState(taskUUID string) error { method PurgeGroupMeta (line 257) | func (b *Backend) PurgeGroupMeta(groupUUID string) error { method getGroupMeta (line 270) | func (b *Backend) getGroupMeta(conn redis.Conn, groupUUID string) (*ta... method getStates (line 288) | func (b *Backend) getStates(conn redis.Conn, taskUUIDs ...string) ([]*... method updateState (line 323) | func (b *Backend) updateState(conn redis.Conn, taskState *tasks.TaskSt... method getExpiration (line 339) | func (b *Backend) getExpiration() time.Duration { method open (line 350) | func (b *Backend) open() redis.Conn { function New (line 37) | func New(cnf *config.Config, host, username, password, socketPath string... FILE: v2/backends/redis/redis_test.go function TestGroupCompleted (line 13) | func TestGroupCompleted(t *testing.T) { function TestGetState (line 74) | func TestGetState(t *testing.T) { function TestPurgeState (line 136) | func TestPurgeState(t *testing.T) { FILE: v2/backends/result/async_result.go type AsyncResult (line 20) | type AsyncResult struct method Touch (line 74) | func (asyncResult *AsyncResult) Touch() ([]reflect.Value, error) { method Get (line 98) | func (asyncResult *AsyncResult) Get(sleepDuration time.Duration) ([]re... method GetWithTimeout (line 111) | func (asyncResult *AsyncResult) GetWithTimeout(timeoutDuration, sleepD... method GetState (line 131) | func (asyncResult *AsyncResult) GetState() *tasks.TaskState { type ChordAsyncResult (line 27) | type ChordAsyncResult struct method Get (line 166) | func (chordAsyncResult *ChordAsyncResult) Get(sleepDuration time.Durat... method GetWithTimeout (line 223) | func (chordAsyncResult *ChordAsyncResult) GetWithTimeout(timeoutDurati... type ChainAsyncResult (line 34) | type ChainAsyncResult struct method Get (line 145) | func (chainAsyncResult *ChainAsyncResult) Get(sleepDuration time.Durat... method GetWithTimeout (line 183) | func (chainAsyncResult *ChainAsyncResult) GetWithTimeout(timeoutDurati... function NewAsyncResult (line 40) | func NewAsyncResult(signature *tasks.Signature, backend iface.Backend) *... function NewChordAsyncResult (line 49) | func NewChordAsyncResult(groupTasks []*tasks.Signature, chordCallback *t... function NewChainAsyncResult (line 62) | func NewChainAsyncResult(tasks []*tasks.Signature, backend iface.Backend... FILE: v2/brokers/amqp/amqp.go type AMQPConnection (line 21) | type AMQPConnection struct type Broker (line 32) | type Broker struct method StartConsuming (line 47) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 109) | func (b *Broker) StopConsuming() { method GetOrOpenConnection (line 118) | func (b *Broker) GetOrOpenConnection(queueName string, queueBindingKey... method CloseConnections (line 169) | func (b *Broker) CloseConnections() error { method Publish (line 185) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consume (line 254) | func (b *Broker) consume(deliveries <-chan amqp.Delivery, concurrency ... method consumeOne (line 304) | func (b *Broker) consumeOne(delivery amqp.Delivery, taskProcessor ifac... method delay (line 345) | func (b *Broker) delay(signature *tasks.Signature, delayMs int64) error { method isDirectExchange (line 430) | func (b *Broker) isDirectExchange() bool { method AdjustRoutingKey (line 438) | func (b *Broker) AdjustRoutingKey(s *tasks.Signature) { method GetPendingTasks (line 472) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... function New (line 42) | func New(cnf *config.Config) iface.Broker { type sigDumper (line 454) | type sigDumper struct method Process (line 459) | func (s *sigDumper) Process(sig *tasks.Signature) error { method CustomQueue (line 464) | func (s *sigDumper) CustomQueue() string { method PreConsumeHandler (line 468) | func (_ *sigDumper) PreConsumeHandler() bool { FILE: v2/brokers/amqp/amqp_concurrence_test.go type doNothingProcessor (line 13) | type doNothingProcessor struct method Process (line 15) | func (_ doNothingProcessor) Process(signature *tasks.Signature) error { method CustomQueue (line 19) | func (_ doNothingProcessor) CustomQueue() string { method PreConsumeHandler (line 23) | func (_ doNothingProcessor) PreConsumeHandler() bool { function TestConsume (line 27) | func TestConsume(t *testing.T) { FILE: v2/brokers/amqp/amqp_test.go function TestAdjustRoutingKey (line 13) | func TestAdjustRoutingKey(t *testing.T) { FILE: v2/brokers/eager/eager.go type Broker (line 16) | type Broker struct method StartConsuming (line 32) | func (eagerBroker *Broker) StartConsuming(consumerTag string, concurre... method StopConsuming (line 37) | func (eagerBroker *Broker) StopConsuming() { method Publish (line 42) | func (eagerBroker *Broker) Publish(ctx context.Context, task *tasks.Si... method AssignWorker (line 66) | func (eagerBroker *Broker) AssignWorker(w iface.TaskProcessor) { function New (line 22) | func New() iface.Broker { type Mode (line 27) | type Mode interface FILE: v2/brokers/errs/errors.go type ErrCouldNotUnmarshalTaskSignature (line 9) | type ErrCouldNotUnmarshalTaskSignature struct method Error (line 15) | func (e ErrCouldNotUnmarshalTaskSignature) Error() string { function NewErrCouldNotUnmarshalTaskSignature (line 20) | func NewErrCouldNotUnmarshalTaskSignature(msg []byte, err error) ErrCoul... FILE: v2/brokers/gcppubsub/gcp_pubsub.go type Broker (line 19) | type Broker struct method StartConsuming (line 85) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 121) | func (b *Broker) StopConsuming() { method Publish (line 130) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consumeOne (line 167) | func (b *Broker) consumeOne(delivery *pubsub.Message, taskProcessor if... function New (line 30) | func New(cnf *config.Config, projectID, subscriptionName string) (iface.... FILE: v2/brokers/iface/interfaces.go type Broker (line 11) | type Broker interface type TaskProcessor (line 25) | type TaskProcessor interface FILE: v2/brokers/iface/sqs/api.go type API (line 10) | type API interface FILE: v2/brokers/redis/goredis.go type BrokerGR (line 26) | type BrokerGR struct method StartConsuming (line 90) | func (b *BrokerGR) StartConsuming(consumerTag string, concurrency int,... method StopConsuming (line 191) | func (b *BrokerGR) StopConsuming() { method Publish (line 202) | func (b *BrokerGR) Publish(ctx context.Context, signature *tasks.Signa... method GetPendingTasks (line 228) | func (b *BrokerGR) GetPendingTasks(queue string) ([]*tasks.Signature, ... method GetDelayedTasks (line 252) | func (b *BrokerGR) GetDelayedTasks() ([]*tasks.Signature, error) { method consume (line 273) | func (b *BrokerGR) consume(deliveries <-chan []byte, concurrency int, ... method consumeOne (line 318) | func (b *BrokerGR) consumeOne(delivery []byte, taskProcessor iface.Tas... method nextTask (line 344) | func (b *BrokerGR) nextTask(queue string) (result []byte, err error) { method nextDelayedTask (line 372) | func (b *BrokerGR) nextDelayedTask(key string) (result []byte, err err... function NewGR (line 40) | func NewGR(cnf *config.Config, addrs []string, db int) iface.Broker { function getQueueGR (line 439) | func getQueueGR(config *config.Config, taskProcessor iface.TaskProcessor... FILE: v2/brokers/redis/redis.go constant defaultRedisDelayedTasksKey (line 25) | defaultRedisDelayedTasksKey = "delayed_tasks" type Broker (line 28) | type Broker struct method StartConsuming (line 65) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 185) | func (b *Broker) StopConsuming() { method Publish (line 200) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method GetPendingTasks (line 229) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... method GetDelayedTasks (line 259) | func (b *Broker) GetDelayedTasks() ([]*tasks.Signature, error) { method consume (line 287) | func (b *Broker) consume(deliveries <-chan []byte, concurrency int, ta... method consumeOne (line 340) | func (b *Broker) consumeOne(delivery []byte, taskProcessor iface.TaskP... method nextTask (line 365) | func (b *Broker) nextTask(queue string) (result []byte, err error) { method nextDelayedTask (line 403) | func (b *Broker) nextDelayedTask(key string) (result []byte, err error) { method open (line 478) | func (b *Broker) open() redis.Conn { method requeueMessage (line 495) | func (b *Broker) requeueMessage(delivery []byte, taskProcessor iface.T... function New (line 47) | func New(cnf *config.Config, host, username, password, socketPath string... function getQueue (line 487) | func getQueue(config *config.Config, taskProcessor iface.TaskProcessor) ... FILE: v2/brokers/sqs/sqs.go constant maxAWSSQSDelay (line 26) | maxAWSSQSDelay = time.Minute * 15 type Broker (line 31) | type Broker struct method StartConsuming (line 59) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 112) | func (b *Broker) StopConsuming() { method Publish (line 125) | func (b *Broker) Publish(ctx context.Context, signature *tasks.Signatu... method consume (line 179) | func (b *Broker) consume(deliveries <-chan *sqs.ReceiveMessageOutput, ... method consumeOne (line 195) | func (b *Broker) consumeOne(delivery *sqs.ReceiveMessageOutput, taskPr... method deleteOne (line 257) | func (b *Broker) deleteOne(delivery *sqs.ReceiveMessageOutput) error { method defaultQueueURL (line 271) | func (b *Broker) defaultQueueURL() *string { method receiveMessage (line 281) | func (b *Broker) receiveMessage(qURL *string) (*sqs.ReceiveMessageOutp... method initializePool (line 311) | func (b *Broker) initializePool(pool chan struct{}, concurrency int) { method consumeDeliveries (line 318) | func (b *Broker) consumeDeliveries(deliveries <-chan *sqs.ReceiveMessa... method continueReceivingMessages (line 348) | func (b *Broker) continueReceivingMessages(qURL *string, deliveries ch... method visibilityHeartbeat (line 367) | func (b *Broker) visibilityHeartbeat(delivery *sqs.ReceiveMessageOutpu... method stopReceiving (line 401) | func (b *Broker) stopReceiving() { method getQueueURL (line 408) | func (b *Broker) getQueueURL(taskProcessor iface.TaskProcessor) *string { function New (line 41) | func New(cnf *config.Config) (iface.Broker, error) { FILE: v2/brokers/sqs/sqs_export_test.go type FakeSQS (line 25) | type FakeSQS struct method SendMessage (line 29) | func (f *FakeSQS) SendMessage(context.Context, *awssqs.SendMessageInpu... method ReceiveMessage (line 38) | func (f *FakeSQS) ReceiveMessage(context.Context, *awssqs.ReceiveMessa... method DeleteMessage (line 42) | func (f *FakeSQS) DeleteMessage(context.Context, *awssqs.DeleteMessage... type ErrorSQS (line 46) | type ErrorSQS struct method SendMessage (line 50) | func (e *ErrorSQS) SendMessage(context.Context, *awssqs.SendMessageInp... method ReceiveMessage (line 55) | func (e *ErrorSQS) ReceiveMessage(context.Context, *awssqs.ReceiveMess... method DeleteMessage (line 60) | func (e *ErrorSQS) DeleteMessage(context.Context, *awssqs.DeleteMessag... function init (line 65) | func init() { function NewTestConfig (line 98) | func NewTestConfig() *config.Config { function NewTestBroker (line 116) | func NewTestBroker(cnf *config.Config) *Broker { function NewTestErrorBroker (line 132) | func NewTestErrorBroker() *Broker { method ConsumeForTest (line 146) | func (b *Broker) ConsumeForTest(deliveries <-chan *awssqs.ReceiveMessage... method ConsumeOneForTest (line 150) | func (b *Broker) ConsumeOneForTest(delivery *awssqs.ReceiveMessageOutput... method DeleteOneForTest (line 154) | func (b *Broker) DeleteOneForTest(delivery *awssqs.ReceiveMessageOutput)... method DefaultQueueURLForTest (line 158) | func (b *Broker) DefaultQueueURLForTest() *string { method ReceiveMessageForTest (line 162) | func (b *Broker) ReceiveMessageForTest(qURL *string) (*awssqs.ReceiveMes... method InitializePoolForTest (line 166) | func (b *Broker) InitializePoolForTest(pool chan struct{}, concurrency i... method ConsumeDeliveriesForTest (line 170) | func (b *Broker) ConsumeDeliveriesForTest(deliveries <-chan *awssqs.Rece... method ContinueReceivingMessagesForTest (line 174) | func (b *Broker) ContinueReceivingMessagesForTest(qURL *string, deliveri... method StopReceivingForTest (line 178) | func (b *Broker) StopReceivingForTest() { method GetStopReceivingChanForTest (line 182) | func (b *Broker) GetStopReceivingChanForTest() chan int { method StartConsumingForTest (line 186) | func (b *Broker) StartConsumingForTest(consumerTag string, concurrency i... method GetRetryFuncForTest (line 190) | func (b *Broker) GetRetryFuncForTest() func(chan int) { method GetStopChanForTest (line 194) | func (b *Broker) GetStopChanForTest() chan int { method GetRetryStopChanForTest (line 198) | func (b *Broker) GetRetryStopChanForTest() chan int { method GetQueueURLForTest (line 202) | func (b *Broker) GetQueueURLForTest(taskProcessor iface.TaskProcessor) *... method GetCustomQueueURL (line 206) | func (b *Broker) GetCustomQueueURL(customQueue string) *string { FILE: v2/brokers/sqs/sqs_test.go function init (line 31) | func init() { function TestNewAWSSQSBroker (line 36) | func TestNewAWSSQSBroker(t *testing.T) { function TestPrivateFunc_continueReceivingMessages (line 47) | func TestPrivateFunc_continueReceivingMessages(t *testing.T) { function TestPrivateFunc_consume (line 96) | func TestPrivateFunc_consume(t *testing.T) { function TestPrivateFunc_consumeOne (line 113) | func TestPrivateFunc_consumeOne(t *testing.T) { function TestPrivateFunc_consumeOneWithVisibilityHeartBeat (line 135) | func TestPrivateFunc_consumeOneWithVisibilityHeartBeat(t *testing.T) { function TestPrivateFunc_initializePool (line 177) | func TestPrivateFunc_initializePool(t *testing.T) { function TestPrivateFunc_startConsuming (line 187) | func TestPrivateFunc_startConsuming(t *testing.T) { function TestPrivateFuncDefaultQueueURL (line 205) | func TestPrivateFuncDefaultQueueURL(t *testing.T) { function TestPrivateFunc_stopReceiving (line 214) | func TestPrivateFunc_stopReceiving(t *testing.T) { function TestPrivateFunc_receiveMessage (line 224) | func TestPrivateFunc_receiveMessage(t *testing.T) { function TestPrivateFunc_consumeDeliveries (line 234) | func TestPrivateFunc_consumeDeliveries(t *testing.T) { function TestPrivateFunc_deleteOne (line 291) | func TestPrivateFunc_deleteOne(t *testing.T) { function Test_CustomQueueName (line 303) | func Test_CustomQueueName(t *testing.T) { function TestPrivateFunc_consumeWithConcurrency (line 318) | func TestPrivateFunc_consumeWithConcurrency(t *testing.T) { type MockSQSAPI (line 375) | type MockSQSAPI struct method ReceiveMessage (line 381) | func (m *MockSQSAPI) ReceiveMessage(ctx context.Context, input *awssqs... method DeleteMessage (line 386) | func (m *MockSQSAPI) DeleteMessage(ctx context.Context, input *awssqs.... method ChangeMessageVisibility (line 391) | func (m *MockSQSAPI) ChangeMessageVisibility(ctx context.Context, inpu... FILE: v2/common/amqp.go type AMQPConnector (line 12) | type AMQPConnector struct method Connect (line 16) | func (ac *AMQPConnector) Connect(urls string, urlSeparator string, tls... method DeleteQueue (line 91) | func (ac *AMQPConnector) DeleteQueue(channel *amqp.Channel, queueName ... method InspectQueue (line 104) | func (*AMQPConnector) InspectQueue(channel *amqp.Channel, queueName st... method Open (line 114) | func (ac *AMQPConnector) Open(url string, tlsConfig *tls.Config) (*amq... method Close (line 133) | func (ac *AMQPConnector) Close(channel *amqp.Channel, conn *amqp.Conne... FILE: v2/common/backend.go type Backend (line 8) | type Backend struct method GetConfig (line 18) | func (b *Backend) GetConfig() *config.Config { method IsAMQP (line 23) | func (b *Backend) IsAMQP() bool { function NewBackend (line 13) | func NewBackend(cnf *config.Config) Backend { FILE: v2/common/broker.go type registeredTaskNames (line 14) | type registeredTaskNames struct type Broker (line 20) | type Broker struct method GetConfig (line 40) | func (b *Broker) GetConfig() *config.Config { method GetRetry (line 45) | func (b *Broker) GetRetry() bool { method GetRetryFunc (line 50) | func (b *Broker) GetRetryFunc() func(chan int) { method GetRetryStopChan (line 55) | func (b *Broker) GetRetryStopChan() chan int { method GetStopChan (line 60) | func (b *Broker) GetStopChan() chan int { method Publish (line 65) | func (b *Broker) Publish(signature *tasks.Signature) error { method SetRegisteredTaskNames (line 70) | func (b *Broker) SetRegisteredTaskNames(names []string) { method IsTaskRegistered (line 77) | func (b *Broker) IsTaskRegistered(name string) bool { method GetPendingTasks (line 89) | func (b *Broker) GetPendingTasks(queue string) ([]*tasks.Signature, er... method GetDelayedTasks (line 94) | func (b *Broker) GetDelayedTasks() ([]*tasks.Signature, error) { method StartConsuming (line 99) | func (b *Broker) StartConsuming(consumerTag string, concurrency int, t... method StopConsuming (line 107) | func (b *Broker) StopConsuming() { method GetRegisteredTaskNames (line 122) | func (b *Broker) GetRegisteredTaskNames() []string { method AdjustRoutingKey (line 133) | func (b *Broker) AdjustRoutingKey(s *tasks.Signature) { function NewBroker (line 30) | func NewBroker(cnf *config.Config) Broker { FILE: v2/common/broker_test.go function TestIsTaskRegistered (line 13) | func TestIsTaskRegistered(t *testing.T) { function TestAdjustRoutingKey (line 23) | func TestAdjustRoutingKey(t *testing.T) { function TestGetRegisteredTaskNames (line 50) | func TestGetRegisteredTaskNames(t *testing.T) { function TestStopConsuming (line 59) | func TestStopConsuming(t *testing.T) { FILE: v2/common/redis.go type RedisConnector (line 27) | type RedisConnector struct method NewPool (line 30) | func (rc *RedisConnector) NewPool(socketPath, host, username, password... method open (line 66) | func (rc *RedisConnector) open(socketPath, host, username, password st... FILE: v2/config/config.go constant DefaultResultsExpireIn (line 17) | DefaultResultsExpireIn = 3600 type Config (line 55) | type Config struct type QueueBindingArgs (line 74) | type QueueBindingArgs method Decode (line 182) | func (args *QueueBindingArgs) Decode(value string) error { type QueueDeclareArgs (line 77) | type QueueDeclareArgs type AMQPConfig (line 80) | type AMQPConfig struct type DynamoDBConfig (line 92) | type DynamoDBConfig struct type SQSConfig (line 99) | type SQSConfig struct type RedisConfig (line 111) | type RedisConfig struct type GCPPubSubConfig (line 169) | type GCPPubSubConfig struct type MongoDBConfig (line 175) | type MongoDBConfig struct FILE: v2/config/env.go function NewFromEnvironment (line 10) | func NewFromEnvironment() (*Config, error) { function fromEnvironment (line 21) | func fromEnvironment() (*Config, error) { FILE: v2/config/env_test.go function TestNewFromEnvironment (line 13) | func TestNewFromEnvironment(t *testing.T) { FILE: v2/config/file.go function NewFromYaml (line 13) | func NewFromYaml(cnfPath string, keepReloading bool) (*Config, error) { function ReadFromFile (line 44) | func ReadFromFile(cnfPath string) ([]byte, error) { function fromFile (line 63) | func fromFile(cnfPath string) (*Config, error) { FILE: v2/config/file_test.go function TestReadFromFile (line 46) | func TestReadFromFile(t *testing.T) { function TestNewFromYaml (line 57) | func TestNewFromYaml(t *testing.T) { FILE: v2/example/amqp/main.go function init (line 31) | func init() { function main (line 39) | func main() { function startServer (line 68) | func startServer() (*machinery.Server, error) { function worker (line 103) | func worker() error { function send (line 142) | func send() error { FILE: v2/example/go-redis/main.go function init (line 31) | func init() { function main (line 39) | func main() { function startServer (line 68) | func startServer() (*machinery.Server, error) { function worker (line 104) | func worker() error { function send (line 143) | func send() error { FILE: v2/example/redigo/main.go function init (line 31) | func init() { function main (line 39) | func main() { function startServer (line 68) | func startServer() (*machinery.Server, error) { function worker (line 104) | func worker() error { function send (line 143) | func send() error { FILE: v2/example/tasks/tasks.go function Add (line 12) | func Add(args ...int64) (int64, error) { function Multiply (line 21) | func Multiply(args ...int64) (int64, error) { function SumInts (line 30) | func SumInts(numbers []int64) (int64, error) { function SumFloats (line 39) | func SumFloats(numbers []float64) (float64, error) { function Concat (line 48) | func Concat(strs []string) (string, error) { function Split (line 57) | func Split(str string) ([]string, error) { function PanicTask (line 62) | func PanicTask() (string, error) { function LongRunningTask (line 67) | func LongRunningTask() error { FILE: v2/example/tracers/jaeger.go function SetupTracer (line 20) | func SetupTracer(serviceName string) (func(), error) { FILE: v2/integration-tests/amqp_amqp_test.go function TestAmqpAmqp (line 15) | func TestAmqpAmqp(t *testing.T) { FILE: v2/integration-tests/redis_redis_test.go function TestRedisRedis_GoRedis (line 14) | func TestRedisRedis_GoRedis(t *testing.T) { FILE: v2/integration-tests/suite_test.go type ascendingInt64s (line 20) | type ascendingInt64s method Len (line 22) | func (a ascendingInt64s) Len() int { return len(a) } method Swap (line 23) | func (a ascendingInt64s) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 24) | func (a ascendingInt64s) Less(i, j int) bool { return a[i] < a[j] } type Server (line 26) | type Server interface function testAll (line 40) | func testAll(server Server, t *testing.T) { function testSendTask (line 52) | func testSendTask(server Server, t *testing.T) { function testSendGroup (line 101) | func testSendGroup(server Server, t *testing.T, sendConcurrency int) { function testSendChain (line 146) | func testSendChain(server Server, t *testing.T) { function testSendChord (line 177) | func testSendChord(server Server, t *testing.T) { function testReturnJustError (line 213) | func testReturnJustError(server Server, t *testing.T) { function testReturnMultipleValues (line 241) | func testReturnMultipleValues(server Server, t *testing.T) { function testPanic (line 290) | func testPanic(server Server, t *testing.T) { function testDelay (line 304) | func testDelay(server Server, t *testing.T) { function registerTestTasks (line 341) | func registerTestTasks(server Server) { function newAddTask (line 391) | func newAddTask(a, b int) *tasks.Signature { function newMultipleTask (line 407) | func newMultipleTask(nums ...int) *tasks.Signature { function newSumTask (line 421) | func newSumTask(nums []int64) *tasks.Signature { function newErrorTask (line 433) | func newErrorTask(msg string, fail bool) *tasks.Signature { function newMultipleReturnTask (line 449) | func newMultipleReturnTask(arg1, arg2 string, fail bool) *tasks.Signature { function newDelayTask (line 469) | func newDelayTask(eta time.Time) *tasks.Signature { FILE: v2/locks/eager/eager.go type Lock (line 13) | type Lock struct method LockWithRetries (line 33) | func (e *Lock) LockWithRetries(key string, value int64) error { method Lock (line 46) | func (e *Lock) Lock(key string, value int64) error { function New (line 22) | func New() *Lock { FILE: v2/locks/eager/eager_test.go function TestLock_Lock (line 11) | func TestLock_Lock(t *testing.T) { function TestLock_LockWithRetries (line 25) | func TestLock_LockWithRetries(t *testing.T) { function TestNew (line 39) | func TestNew(t *testing.T) { FILE: v2/locks/iface/interfaces.go type Lock (line 3) | type Lock interface FILE: v2/locks/redis/redis.go type Lock (line 19) | type Lock struct method LockWithRetries (line 61) | func (r Lock) LockWithRetries(key string, unixTsToExpireNs int64) error { method Lock (line 74) | func (r Lock) Lock(key string, unixTsToExpireNs int64) error { function New (line 25) | func New(cnf *config.Config, addrs []string, db, retries int) Lock { FILE: v2/log/log.go function Set (line 23) | func Set(l logging.LoggerInterface) { function SetDebug (line 32) | func SetDebug(l logging.LoggerInterface) { function SetInfo (line 37) | func SetInfo(l logging.LoggerInterface) { function SetWarning (line 42) | func SetWarning(l logging.LoggerInterface) { function SetError (line 47) | func SetError(l logging.LoggerInterface) { function SetFatal (line 52) | func SetFatal(l logging.LoggerInterface) { FILE: v2/log/log_test.go function TestDefaultLogger (line 9) | func TestDefaultLogger(t *testing.T) { FILE: v2/retry/fibonacci.go function Fibonacci (line 4) | func Fibonacci() func() int { function FibonacciNext (line 13) | func FibonacciNext(start int) int { FILE: v2/retry/fibonacci_test.go function TestFibonacci (line 10) | func TestFibonacci(t *testing.T) { function TestFibonacciNext (line 25) | func TestFibonacciNext(t *testing.T) { FILE: v2/server.go type Server (line 28) | type Server struct method NewWorker (line 56) | func (server *Server) NewWorker(consumerTag string, concurrency int) *... method NewCustomQueueWorker (line 66) | func (server *Server) NewCustomQueueWorker(consumerTag string, concurr... method GetBroker (line 76) | func (server *Server) GetBroker() brokersiface.Broker { method SetBroker (line 81) | func (server *Server) SetBroker(broker brokersiface.Broker) { method GetBackend (line 86) | func (server *Server) GetBackend() backendsiface.Backend { method SetBackend (line 91) | func (server *Server) SetBackend(backend backendsiface.Backend) { method GetConfig (line 96) | func (server *Server) GetConfig() *config.Config { method SetConfig (line 101) | func (server *Server) SetConfig(cnf *config.Config) { method SetPreTaskHandler (line 106) | func (server *Server) SetPreTaskHandler(handler func(*tasks.Signature)) { method RegisterTasks (line 111) | func (server *Server) RegisterTasks(namedTaskFuncs map[string]interfac... method RegisterTask (line 125) | func (server *Server) RegisterTask(name string, taskFunc interface{}) ... method IsTaskRegistered (line 135) | func (server *Server) IsTaskRegistered(name string) bool { method GetRegisteredTask (line 141) | func (server *Server) GetRegisteredTask(name string) (interface{}, err... method SendTaskWithContext (line 150) | func (server *Server) SendTaskWithContext(ctx context.Context, signatu... method SendTask (line 185) | func (server *Server) SendTask(signature *tasks.Signature) (*result.As... method SendChainWithContext (line 190) | func (server *Server) SendChainWithContext(ctx context.Context, chain ... method SendChain (line 200) | func (server *Server) SendChain(chain *tasks.Chain) (*result.ChainAsyn... method SendGroupWithContext (line 210) | func (server *Server) SendGroupWithContext(ctx context.Context, group ... method SendGroup (line 286) | func (server *Server) SendGroup(group *tasks.Group, sendConcurrency in... method SendChordWithContext (line 291) | func (server *Server) SendChordWithContext(ctx context.Context, chord ... method SendChord (line 310) | func (server *Server) SendChord(chord *tasks.Chord, sendConcurrency in... method GetRegisteredTaskNames (line 315) | func (server *Server) GetRegisteredTaskNames() []string { method RegisterPeriodicTask (line 326) | func (server *Server) RegisterPeriodicTask(spec, name string, signatur... method RegisterPeriodicChain (line 352) | func (server *Server) RegisterPeriodicChain(spec, name string, signatu... method RegisterPeriodicGroup (line 381) | func (server *Server) RegisterPeriodicGroup(spec, name string, sendCon... method RegisterPeriodicChord (line 410) | func (server *Server) RegisterPeriodicChord(spec, name string, sendCon... function NewServer (line 39) | func NewServer(cnf *config.Config, brokerServer brokersiface.Broker, bac... FILE: v2/server_test.go function TestRegisterTasks (line 16) | func TestRegisterTasks(t *testing.T) { function TestRegisterTask (line 29) | func TestRegisterTask(t *testing.T) { function TestGetRegisteredTask (line 40) | func TestGetRegisteredTask(t *testing.T) { function TestGetRegisteredTaskNames (line 48) | func TestGetRegisteredTaskNames(t *testing.T) { function TestNewWorker (line 62) | func TestNewWorker(t *testing.T) { function TestNewCustomQueueWorker (line 71) | func TestNewCustomQueueWorker(t *testing.T) { function getTestServer (line 80) | func getTestServer(t *testing.T) *machinery.Server { FILE: v2/tasks/errors.go type ErrRetryTaskLater (line 9) | type ErrRetryTaskLater struct method RetryIn (line 15) | func (e ErrRetryTaskLater) RetryIn() time.Duration { method Error (line 20) | func (e ErrRetryTaskLater) Error() string { function NewErrRetryTaskLater (line 25) | func NewErrRetryTaskLater(msg string, retryIn time.Duration) ErrRetryTas... type Retriable (line 30) | type Retriable interface FILE: v2/tasks/reflect.go type ErrUnsupportedType (line 56) | type ErrUnsupportedType struct method Error (line 66) | func (e ErrUnsupportedType) Error() string { function NewErrUnsupportedType (line 61) | func NewErrUnsupportedType(valueType string) ErrUnsupportedType { function ReflectValue (line 71) | func ReflectValue(valueType string, value interface{}) (reflect.Value, e... function reflectValue (line 81) | func reflectValue(valueType string, value interface{}) (reflect.Value, e... function reflectValues (line 148) | func reflectValues(valueType string, value interface{}) (reflect.Value, ... function getBoolValue (line 261) | func getBoolValue(theType string, value interface{}) (bool, error) { function getIntValue (line 270) | func getIntValue(theType string, value interface{}) (int64, error) { function getUintValue (line 291) | func getUintValue(theType string, value interface{}) (uint64, error) { function getFloatValue (line 321) | func getFloatValue(theType string, value interface{}) (float64, error) { function getStringValue (line 341) | func getStringValue(theType string, value interface{}) (string, error) { function IsContextType (line 351) | func IsContextType(t reflect.Type) bool { FILE: v2/tasks/reflect_test.go function TestReflectValue (line 227) | func TestReflectValue(t *testing.T) { FILE: v2/tasks/result.go type TaskResult (line 10) | type TaskResult struct function ReflectTaskResults (line 16) | func ReflectTaskResults(taskResults []*TaskResult) ([]reflect.Value, err... function HumanReadableResults (line 29) | func HumanReadableResults(results []reflect.Value) string { FILE: v2/tasks/result_test.go function TestReflectTaskResults (line 10) | func TestReflectTaskResults(t *testing.T) { FILE: v2/tasks/signature.go type Arg (line 12) | type Arg struct type Headers (line 19) | type Headers method Set (line 22) | func (h Headers) Set(key, val string) { method ForeachKey (line 29) | func (h Headers) ForeachKey(handler func(key, val string) error) error { type Signature (line 46) | type Signature struct function NewSignature (line 75) | func NewSignature(name string, args []Arg) (*Signature, error) { function CopySignatures (line 84) | func CopySignatures(signatures ...*Signature) []*Signature { function CopySignature (line 92) | func CopySignature(signature *Signature) *Signature { FILE: v2/tasks/state.go constant StatePending (line 7) | StatePending = "PENDING" constant StateReceived (line 9) | StateReceived = "RECEIVED" constant StateStarted (line 11) | StateStarted = "STARTED" constant StateRetry (line 13) | StateRetry = "RETRY" constant StateSuccess (line 15) | StateSuccess = "SUCCESS" constant StateFailure (line 17) | StateFailure = "FAILURE" type TaskState (line 21) | type TaskState struct method IsCompleted (line 97) | func (taskState *TaskState) IsCompleted() bool { method IsSuccess (line 102) | func (taskState *TaskState) IsSuccess() bool { method IsFailure (line 107) | func (taskState *TaskState) IsFailure() bool { type GroupMeta (line 34) | type GroupMeta struct function NewPendingTaskState (line 44) | func NewPendingTaskState(signature *Signature) *TaskState { function NewReceivedTaskState (line 54) | func NewReceivedTaskState(signature *Signature) *TaskState { function NewStartedTaskState (line 62) | func NewStartedTaskState(signature *Signature) *TaskState { function NewSuccessTaskState (line 70) | func NewSuccessTaskState(signature *Signature, results []*TaskResult) *T... function NewFailureTaskState (line 79) | func NewFailureTaskState(signature *Signature, err string) *TaskState { function NewRetryTaskState (line 88) | func NewRetryTaskState(signature *Signature) *TaskState { FILE: v2/tasks/state_test.go function TestTaskStateIsCompleted (line 10) | func TestTaskStateIsCompleted(t *testing.T) { FILE: v2/tasks/task.go type Task (line 22) | type Task struct method Call (line 102) | func (t *Task) Call() (taskResults []*TaskResult, err error) { method ReflectArgs (line 188) | func (t *Task) ReflectArgs(args []Arg) error { type signatureCtxType (line 29) | type signatureCtxType struct function SignatureFromContext (line 34) | func SignatureFromContext(ctx context.Context) *Signature { function NewWithSignature (line 49) | func NewWithSignature(taskFunc interface{}, signature *Signature) (*Task... function New (line 75) | func New(taskFunc interface{}, args []Arg) (*Task, error) { FILE: v2/tasks/task_test.go function TestTaskCallErrorTest (line 14) | func TestTaskCallErrorTest(t *testing.T) { function TestTaskReflectArgs (line 43) | func TestTaskReflectArgs(t *testing.T) { function TestTaskCallInvalidArgRobustnessError (line 60) | func TestTaskCallInvalidArgRobustnessError(t *testing.T) { function TestTaskCallInterfaceValuedResult (line 80) | func TestTaskCallInterfaceValuedResult(t *testing.T) { function TestTaskCallWithContext (line 95) | func TestTaskCallWithContext(t *testing.T) { function TestTaskCallWithSignatureInContext (line 111) | func TestTaskCallWithSignatureInContext(t *testing.T) { FILE: v2/tasks/validate.go function ValidateTask (line 20) | func ValidateTask(task interface{}) error { FILE: v2/tasks/validate_test.go function TestValidateTask (line 10) | func TestValidateTask(t *testing.T) { FILE: v2/tasks/workflow.go type Chain (line 10) | type Chain struct type Group (line 15) | type Group struct method GetUUIDs (line 28) | func (group *Group) GetUUIDs() []string { type Chord (line 22) | type Chord struct function NewChain (line 38) | func NewChain(signatures ...*Signature) (*Chain, error) { function NewGroup (line 59) | func NewGroup(signatures ...*Signature) (*Group, error) { function NewChord (line 82) | func NewChord(group *Group, callback *Signature) (*Chord, error) { FILE: v2/tasks/workflow_test.go function TestNewChain (line 10) | func TestNewChain(t *testing.T) { FILE: v2/tracing/tracing.go function StartSpanFromHeaders (line 23) | func StartSpanFromHeaders(headers tasks.Headers, operationName string) o... function HeadersWithSpan (line 44) | func HeadersWithSpan(headers tasks.Headers, span opentracing.Span) tasks... type consumerOption (line 57) | type consumerOption struct method Apply (line 61) | func (c consumerOption) Apply(o *opentracing.StartSpanOptions) { function ConsumerOption (line 69) | func ConsumerOption(producer opentracing.SpanContext) opentracing.StartS... type producerOption (line 73) | type producerOption struct method Apply (line 75) | func (p producerOption) Apply(o *opentracing.StartSpanOptions) { function ProducerOption (line 80) | func ProducerOption() opentracing.StartSpanOption { function AnnotateSpanWithSignatureInfo (line 85) | func AnnotateSpanWithSignatureInfo(span opentracing.Span, signature *tas... function AnnotateSpanWithChainInfo (line 101) | func AnnotateSpanWithChainInfo(span opentracing.Span, chain *tasks.Chain) { function AnnotateSpanWithGroupInfo (line 112) | func AnnotateSpanWithGroupInfo(span opentracing.Span, group *tasks.Group... function AnnotateSpanWithChordInfo (line 132) | func AnnotateSpanWithChordInfo(span opentracing.Span, chord *tasks.Chord... FILE: v2/utils/deepcopy.go function deepCopy (line 14) | func deepCopy(dst, src reflect.Value) { function DeepCopy (line 59) | func DeepCopy(dst, src interface{}) error { function DeepClone (line 79) | func DeepClone(v interface{}) interface{} { FILE: v2/utils/deepcopy_test.go function TestDeepCopy (line 9) | func TestDeepCopy(t *testing.T) { FILE: v2/utils/utils.go constant LockKeyPrefix (line 9) | LockKeyPrefix = "machinery_lock_" function GetLockName (line 12) | func GetLockName(name, spec string) string { FILE: v2/utils/utils_test.go function TestGetLockName (line 9) | func TestGetLockName(t *testing.T) { FILE: v2/utils/uuid.go function GetPureUUID (line 8) | func GetPureUUID() string { FILE: v2/utils/uuid_test.go function TestGetPureUUID (line 9) | func TestGetPureUUID(t *testing.T) { FILE: v2/worker.go type Worker (line 24) | type Worker struct method Launch (line 44) | func (worker *Worker) Launch() error { method LaunchAsync (line 53) | func (worker *Worker) LaunchAsync(errorsChan chan<- error) { method CustomQueue (line 123) | func (worker *Worker) CustomQueue() string { method Quit (line 128) | func (worker *Worker) Quit() { method Process (line 133) | func (worker *Worker) Process(signature *tasks.Signature) error { method taskRetry (line 204) | func (worker *Worker) taskRetry(signature *tasks.Signature) error { method retryTaskIn (line 228) | func (worker *Worker) retryTaskIn(signature *tasks.Signature, retryIn ... method taskSucceeded (line 247) | func (worker *Worker) taskSucceeded(signature *tasks.Signature, taskRe... method taskFailed (line 361) | func (worker *Worker) taskFailed(signature *tasks.Signature, taskErr e... method hasAMQPBackend (line 392) | func (worker *Worker) hasAMQPBackend() bool { method SetErrorHandler (line 399) | func (worker *Worker) SetErrorHandler(handler func(err error)) { method SetPreTaskHandler (line 404) | func (worker *Worker) SetPreTaskHandler(handler func(*tasks.Signature)) { method SetPostTaskHandler (line 409) | func (worker *Worker) SetPostTaskHandler(handler func(*tasks.Signature... method SetPreConsumeHandler (line 414) | func (worker *Worker) SetPreConsumeHandler(handler func(*Worker) bool) { method GetServer (line 419) | func (worker *Worker) GetServer() *Server { method PreConsumeHandler (line 424) | func (worker *Worker) PreConsumeHandler() bool { function RedactURL (line 432) | func RedactURL(urlString string) string { FILE: v2/worker_test.go function TestRedactURL (line 11) | func TestRedactURL(t *testing.T) { function TestPreConsumeHandler (line 19) | func TestPreConsumeHandler(t *testing.T) { function SamplePreConsumeHandler (line 28) | func SamplePreConsumeHandler(w *machinery.Worker) bool {