rbitmq

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

func NewConsumer

func NewConsumer(amqpServerUrl string, queueName string, queue chan amqp.Delivery, cfg *ConsumerCfg) *Consumer

func (*Consumer) Start

func (c *Consumer) Start()

type ConsumerCfg

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

type Producer

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

func NewProducer

func NewProducer(amqpServerUrl string, queueName string, queueSend chan amqp.Publishing, cfg *PublisherCfg) *Producer

func (*Producer) Start

func (c *Producer) Start()

type PublisherCfg

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

Jump to

Keyboard shortcuts

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