Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EBusPort ¶
type EBusPort interface { // SetLogger sets logging call-back function SetLogger(LogFunc func(ctx context.Context, logData *pb_logging.LogData) (*pb_logging.LoggingResult, error)) // Listen listens to the event bus and calls the given callBack function for each received user. Listen(ctx context.Context, channelName string, callBack func(channelName string, user me.User)) }
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.