rbt

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitPublisher added in v0.0.4

type RabbitPublisher[T any] interface {
	PublishForResult(data T, exchange string, routingKey string) error
	PublishTo(exchange string, routingKey string, data T) error
	Publish(data T) error
}

func NewRabbitPublisher added in v0.0.4

func NewRabbitPublisher[T any](
	log log.LogRusEntry,
	rabbitURL string,
	exchangeName string,
	channelType string,
	routingKey string,
) (RabbitPublisher[T], error)

Jump to

Keyboard shortcuts

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