Documentation
¶
Overview ¶
Package queue provides the ability for Vela to integrate with different supported Queue backends.
Usage:
import "github.com/go-vela/worker/queue"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // Pull defines a function that pops an item off the queue. Pull(string) (*types.Item, error) }
Service represents the interface for Vela integrating with the different supported Queue backends.
func FromContext ¶
FromContext returns the queue Service associated with this context.
Click to show internal directories.
Click to hide internal directories.