package
0.0.0-20180212130509-f6958210d2e3
Repository: https://github.com/davars/gae.git
Documentation: pkg.go.dev

# Functions

Add adds the specified task(s) to the specified task queue.
AddRawFilters adds RawInterface filters to the context.
Delete deletes a task from the task queue.
GetTestable returns a Testable for the current task queue service in c, or nil if it does not offer one.
Lease leases tasks from a queue.
LeaseByTag leases tasks from a queue, grouped by tag.
ModifyLease modifies the lease of a task.
NewPOSTTask creates a Task that will POST to a path with URL-encoded values.
ParseRequestHeaders parses the special HTTP request headers available to push task request handlers.
Purge purges all tasks form the named queue.
Raw gets the RawInterface implementation from context.
SetRaw sets the current RawInterface object in the context.
SetRawFactory sets the function to produce RawInterface instances, as returned by the GetRaw method.
Stats returns Statistics instances for each of the named task queues.

# Variables

ErrTaskAlreadyAdded is the error returned when a named task is added to a task queue more than once.

# Structs

Constraints is the set of implementation-specific task queue constraints.
RetryOptions let you control whether to retry a task and the backoff intervals between tries.
Statistics represents statistics about a single task queue.
Task represents a taskqueue task to be executed.

# Interfaces

RawInterface is the full interface to the Task Queue service.
Testable is the testable interface for fake taskqueue implementations.

# Type aliases

AnonymousQueueData is {queueName: [*TQTask]}.
QueueData is {queueName: {taskName: *TQTask}}.
RawCB is a simple callback for RawInterface.DeleteMulti, getting the error for the attempted deletion.
RawFactory is the function signature for RawFactory methods compatible with SetRawFactory.
RawFilter is the function signature for a RawFilter TQ implementation.
RawStatsCB is the callback for RawInterface.Stats.
RawTaskCB is the callback for RawInterface.AddMulti, getting the added task and an error.
RequestHeaders are the special HTTP request headers available to push task HTTP request handlers.