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. :)
Click to show internal directories.
Click to hide internal directories.