queue

package
v1.0.0-...-a0f063d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) AddJob

func (p *Producer) AddJob(job queue.IBrokerJob) queue.IProducer

func (*Producer) Delay

func (p *Producer) Delay(eta time.Time) queue.IProducer

func (*Producer) Dispatch

func (p *Producer) Dispatch() error

func (*Producer) DispatchSync

func (p *Producer) DispatchSync() error

func (*Producer) OnConnection

func (p *Producer) OnConnection(connection string) queue.IProducer

func (*Producer) OnQueue

func (p *Producer) OnQueue(queue string) queue.IProducer

type QueueManager

type QueueManager struct {
	manager.Manager[queue.IBroker]
}

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()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL