rabbit

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQ

type MQ interface {
	Connect(url string) error
	CreateQueue(name string) error
	AddConsumer(num int, queueName string, consumerName string, callback func([]byte)) error
	Send(queueName string, message string) error
	Receive(queueName string) (string, error)
	Close() error
}

func NewMq

func NewMq() MQ

Jump to

Keyboard shortcuts

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