Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EBusPort ¶
type EBusPort interface { // Listen listens to the event bus and calls the given callBack function for each received log. Listen(ctx context.Context, channelName string, callBack func(channelName string, logData me.LogData)) }
EBusPort is a port for Hexagonal Architecture Pattern. It is used to communicate with the event bus.
Click to show internal directories.
Click to hide internal directories.