package gcpqueue
import "golang.org/x/pkgsite/internal/queue/gcpqueue"
Package gcpqueue provides a GCP queue implementation that can be used for asynchronous scheduling of fetch actions.
Index ¶
Functions ¶
func New ¶
func New(ctx context.Context, cfg *config.Config, queueName string, numWorkers int, expGetter middleware.ExperimentGetter, processFunc queue.InMemoryProcessFunc) (queue.Queue, error)
New creates a new Queue with name queueName based on the configuration in cfg. When running locally, Queue uses numWorkers concurrent workers.
Source Files ¶
queue.go
- Version
- v0.0.0-20250523174444-0e6de173c6b5 (latest)
- Published
- May 23, 2025
- Platform
- linux/amd64
- Imports
- 20 packages
- Last checked
- 1 month ago –
Tools for package owners.