amqphandler

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App of package

func New

func New(config Config, mailerApp mailer.App, prometheusRegisterer prometheus.Registerer) (App, error)

New creates new App from Config

func (App) Close added in v1.12.0

func (a App) Close()

Close amqp

func (App) Done added in v1.23.0

func (a App) Done() <-chan struct{}

Done returns the chan used for synchronization

func (App) Enabled added in v1.24.0

func (a App) Enabled() bool

Enabled checks if requirements are met

func (App) Ping

func (a App) Ping() error

Ping amqp

func (App) Start

func (a App) Start(done <-chan struct{})

Start amqp handler

type Config

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

Config of package

func Flags

func Flags(fs *flag.FlagSet, prefix string) Config

Flags adds flags for configuring package

Jump to

Keyboard shortcuts

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