messaging

package
v0.0.0-...-c7ff7ed Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func SetNewPDF

func SetNewPDF(fn func(options *pdfUtil.Options) pdfUtil.PDFer)

func SetupConsumer

func SetupConsumer(conn messageUtil.Connection, publisher *Publisher, fileStore filestorage.FileStorager, db database.Database) error

Types

type Publisher

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

func SetupPublisher

func SetupPublisher(conn messageUtil.Connection) (*Publisher, error)

func (*Publisher) Publish

func (p *Publisher) Publish(routeKey string, message *messages.PDFGenerateResponse) error

Jump to

Keyboard shortcuts

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