amqp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAMQPAdapter

func NewAMQPAdapter(client *cony.Client, consumer *cony.Consumer, handler DeliveryHandler, logger kurin.Logger) kurin.Adapter

Types

type Adapter

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

func (*Adapter) Close

func (adapter *Adapter) Close()

func (*Adapter) OnFailure

func (adapter *Adapter) OnFailure(err error)

func (*Adapter) Open

func (adapter *Adapter) Open()

type DeliveryHandler

type DeliveryHandler func(msg amqp.Delivery)

Jump to

Keyboard shortcuts

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