Documentation
¶
Overview ¶
Package queue provides a queue interface that can be used for asynchronous scheduling of fetch actions.
Index ¶
Constants ¶
View Source
const ( DisableProxyFetchParam = "proxyfetch" DisableProxyFetchValue = "off" SourceParam = "source" SourceFrontendValue = "frontend" SourceWorkerValue = "worker" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// DisableProxyFetch reports whether proxyfetch should be set to off when
// making a fetch request.
DisableProxyFetch bool
// Suffix is used to force reprocessing of tasks that would normally be
// de-duplicated. It is appended to the task name.
Suffix string
// Source is the source that requested the task to be queued. It is
// either "frontend" or the empty string if it is the worker.
Source string
}
Options is used to provide option arguments for a task queue.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gcpqueue provides a GCP queue implementation that can be used for asynchronous scheduling of fetch actions.
|
Package gcpqueue provides a GCP queue implementation that can be used for asynchronous scheduling of fetch actions. |
|
Package inmemqueue provides an in-memory queue implementation that can be used for scheduling of fetch actions.
|
Package inmemqueue provides an in-memory queue implementation that can be used for scheduling of fetch actions. |
Click to show internal directories.
Click to hide internal directories.