Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("queue config not found")
ErrNotFound is returned when the requested queue configuration does not exist.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface {
// Get returns the configuration for a named queue.
// Returns ErrNotFound if no configuration exists for the given name.
Get(ctx context.Context, name string) (entity.QueueConfig, error)
// List returns all configured queues.
List(ctx context.Context) ([]entity.QueueConfig, error)
}
Store loads and provides queue configurations. Implementations may read from YAML files, databases, remote services, etc.
Click to show internal directories.
Click to hide internal directories.