rabbitmq

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Username string
	Password string
	Server   string
}

type RabbitMQ

type RabbitMQ struct {
	Cfg Config
}

type RabbitMQAdapter

type RabbitMQAdapter struct {
	Broker *RabbitMQ
}

func (*RabbitMQAdapter) Init

func (ra *RabbitMQAdapter) Init() error

func (*RabbitMQAdapter) Publish

func (*RabbitMQAdapter) Subscribe

func (ra *RabbitMQAdapter) Subscribe(ctx context.Context, name string, handler messagebroker.SubscribeMessageHandler)

Jump to

Keyboard shortcuts

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