amqpService

package
v0.0.0-...-51f14e4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Jobs = make(chan []byte)

Functions

func Publish

func Publish(sessions chan chan session, messages <-chan []byte, queueName string)

publish publishes messages to a reconnecting session to a fanout exchange. It receives from the application specific source of messages.

func Redial

func Redial(ctx context.Context, url string) chan chan session

redial continually connects to the URL

func SendJob

func SendJob(jobId uint, jobType models.JobType) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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