Documentation ¶
Index ¶
- type AmqpBroker
- func (b *AmqpBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
- func (b *AmqpBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (b *AmqpBroker) AddJob(jobs ...queue.IBrokerJob) error
- func (b *AmqpBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (b *AmqpBroker) Connection(name string) queue.IBroker
- func (b *AmqpBroker) RunServe(queueName string, concurrentCount int) error
- type RedisBroker
- func (b *RedisBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
- func (b *RedisBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (b *RedisBroker) AddJob(jobs ...queue.IBrokerJob) error
- func (b *RedisBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (b *RedisBroker) Connection(name string) queue.IBroker
- func (b *RedisBroker) RunServe(queueName string, concurrentCount int) error
- type SyncBroker
- func (s *SyncBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
- func (s *SyncBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (s *SyncBroker) AddJob(jobs ...queue.IBrokerJob) error
- func (s *SyncBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
- func (s *SyncBroker) Connection(name string) queue.IBroker
- func (s *SyncBroker) RunServe(queueName string, concurrentCount int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpBroker ¶
type AmqpBroker struct {
// contains filtered or unexported fields
}
func NewAmqpBroker ¶
func NewAmqpBroker(connectionName string) (*AmqpBroker, error)
func (*AmqpBroker) AddChainJobs ¶
func (b *AmqpBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
func (*AmqpBroker) AddChainJobsWithQueue ¶
func (b *AmqpBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*AmqpBroker) AddJob ¶
func (b *AmqpBroker) AddJob(jobs ...queue.IBrokerJob) error
func (*AmqpBroker) AddJobWithQueue ¶
func (b *AmqpBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*AmqpBroker) Connection ¶
type RedisBroker ¶
type RedisBroker struct {
// contains filtered or unexported fields
}
func NewRedisBroker ¶
func NewRedisBroker(connectionName string) (*RedisBroker, error)
func (*RedisBroker) AddChainJobs ¶
func (b *RedisBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
func (*RedisBroker) AddChainJobsWithQueue ¶
func (b *RedisBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*RedisBroker) AddJob ¶
func (b *RedisBroker) AddJob(jobs ...queue.IBrokerJob) error
func (*RedisBroker) AddJobWithQueue ¶
func (b *RedisBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*RedisBroker) Connection ¶
type SyncBroker ¶
type SyncBroker struct {
// contains filtered or unexported fields
}
func NewSyncBroker ¶
func NewSyncBroker(connection string) *SyncBroker
func (*SyncBroker) AddChainJobs ¶
func (s *SyncBroker) AddChainJobs(jobs ...queue.IBrokerJob) error
func (*SyncBroker) AddChainJobsWithQueue ¶
func (s *SyncBroker) AddChainJobsWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*SyncBroker) AddJob ¶
func (s *SyncBroker) AddJob(jobs ...queue.IBrokerJob) error
func (*SyncBroker) AddJobWithQueue ¶
func (s *SyncBroker) AddJobWithQueue(queueName string, jobs ...queue.IBrokerJob) error
func (*SyncBroker) Connection ¶
func (s *SyncBroker) Connection(name string) queue.IBroker
Click to show internal directories.
Click to hide internal directories.