Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoDeathCount = errors.New("no death count")
ErrNoDeathCount occurs when no death count is found in message
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func New ¶
func New(config Config, amqpClient *amqpclient.Client, handler func(amqp.Delivery) error) (App, error)
New creates new App from Config
func NewFromString ¶
func NewFromString(amqpClient *amqpclient.Client, handler func(amqp.Delivery) error, exchange, queue, routingKey, retryInterval string, maxRetry uint) (App, error)
NewFromString creates new App from string configuration
func (App) Done ¶
func (a App) Done() <-chan struct{}
Done returns the chan used for synchronization
Click to show internal directories.
Click to hide internal directories.