consumers

package
v0.0.0-...-33037e1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delivery

type Delivery struct {
	ContentType     string // MIME content type
	ContentEncoding string // MIME content encoding
	Body            []byte
	MessageId       string    // application use - message identifier
	Timestamp       time.Time // application use - message timestamp
	Type            string    // application use - message type name
}

type HandleFunc

type HandleFunc func(<-chan amqp.Delivery, log.Logger)

type IConsumer

type IConsumer interface {
	Consume(handleFunc HandleFunc, logger log.Logger) error
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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