amqp

package
v0.0.0-...-69dedca Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

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

func NewProducer

func NewProducer(config ProducerConfig) (*Producer, error)

func (*Producer) Publish

func (p *Producer) Publish(imageId int) error

func (*Producer) Shutdown

func (p *Producer) Shutdown() error

type ProducerConfig

type ProducerConfig struct {
	Username string
	Password string
	Host     string
	Port     string
}

Jump to

Keyboard shortcuts

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