queue

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 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 Manager

type Manager struct {
	*sync.Mutex
	// contains filtered or unexported fields
}

func NewManager

func NewManager(txer database.Txer, maxJob, workerN int) (*Manager, error)

func (*Manager) Add added in v0.4.0

func (m *Manager) Add(job job.Job) <-chan error

func (*Manager) ExchangeManager added in v0.4.0

func (m *Manager) ExchangeManager(exm *exchange.Manager) *Manager

func (*Manager) Pubsuber added in v0.4.0

func (m *Manager) Pubsuber(hub pubsub.Pubsuber) *Manager

func (*Manager) Start

func (m *Manager) Start() error

func (*Manager) Stores added in v0.4.0

func (m *Manager) Stores(stores *store.Stores) *Manager

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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