Documentation
¶
Overview ¶
Package queue provides the ability for Vela to integrate with different supported Queue backends.
Usage:
import "github.com/go-vela/server/queue"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface {
// Publish defines a function that inserts an
// item to the specified channel in the queue.
Publish(string, []byte) 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.