Documentation ¶
Index ¶
- type Producer
- func (p *Producer) AddJob(job queue.IBrokerJob) queue.IProducer
- func (p *Producer) Delay(eta time.Time) queue.IProducer
- func (p *Producer) Dispatch() error
- func (p *Producer) DispatchSync() error
- func (p *Producer) OnConnection(connection string) queue.IProducer
- func (p *Producer) OnQueue(queue string) queue.IProducer
- type QueueManager
- type ServiceProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Producer ¶
type Producer struct { Chain bool Jobs []queue.IBrokerJob // contains filtered or unexported fields }
func NewProducer ¶
func NewProducer() *Producer
func (*Producer) DispatchSync ¶
type QueueManager ¶
func NewQueueManager ¶
func NewQueueManager() *QueueManager
func (*QueueManager) Connection ¶
func (m *QueueManager) Connection(connectionName string) queue.IBroker
func (*QueueManager) DefaultConnectionName ¶
func (m *QueueManager) DefaultConnectionName() string
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (sp *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (sp *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.