drivers

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAmqpProducer

func NewAmqpProducer(amqpURI, topic string, logger log.Logger) (producers.TaskProducer, error)

Types

type AmqpProducer

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

func (*AmqpProducer) Close

func (pr *AmqpProducer) Close() error

func (*AmqpProducer) Produce

func (pr *AmqpProducer) Produce(task *producers.Task, producerOptions ...options.Option) (string, error)

Jump to

Keyboard shortcuts

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