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 { // Pop defines a function that grabs an item off the queue. Pop() (*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.