rabbitmqc

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ExampleKey = "cc_publish"

Variables

View Source
var (
	ExampleClient *amqp.Connection
)

Functions

func Consumer

func Consumer(queueName string)

func ConsumerPro

func ConsumerPro(queueName string)

func ConsumerQ

func ConsumerQ(exchangeName string)

func ConsumerQPro

func ConsumerQPro(exchangeName string)

func Producer

func Producer(queueName string, body RabbitMQMessage)

func Publish

func Publish(exchangeName string, body RabbitMQMessage)

Types

type RabbitMQMessage

type RabbitMQMessage struct {
	Id   int64
	Name string
}

Jump to

Keyboard shortcuts

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