rabbitmqchanneltaskmanager

package
v0.0.0-...-834ce46 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func NewTaskConsumer

func NewTaskConsumer(messageChannel <-chan channel.Message, channelSize int) Consumer

func (Consumer) Consume

func (c Consumer) Consume(done <-chan bool, wg *sync.WaitGroup) (<-chan event.ProcessedEvent, error)

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func (*Queue) Enqueue

func (q *Queue) Enqueue(pe event.ProcessedEvent) error

type TaskPublisher

type TaskPublisher struct {
	// contains filtered or unexported fields
}

func NewTaskPublisher

func NewTaskPublisher(inputChannel chan<- []byte) *TaskPublisher

func (*TaskPublisher) Publish

func (tm *TaskPublisher) Publish(pe event.ProcessedEvent) error

Jump to

Keyboard shortcuts

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