rmqinterface

package
v0.0.0-...-b8d2545 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	PublishLogToLogManager(logType string, msg []byte) error    // FYI: Log Manager will handle how it will be sent into another channel
	PublishLogToElasticSearch(logType string, msg []byte) error // publishes to the elasticsearch database
	PublishLogToMessageBroker(logType string, msg []byte) error // publishes to the message broker (e.g. RabbitMQ)
}

Publisher provides the interface for the functionality of Publisher (message broker)

FYI: to use this interface, we need to implement it somewhere in our code. :)

Jump to

Keyboard shortcuts

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