Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEhEvent ¶
func NewEhEvent(ls service.LogService) event.Event
func NewNatsEvent ¶
func NewNatsEvent(ls service.LogService) event.Event
Types ¶
type CommonEventHandler ¶
type CommonEventHandler struct {
// contains filtered or unexported fields
}
event handler
func NewCommonEventHandler ¶
func NewCommonEventHandler(eventName string, fn interface{}) *CommonEventHandler
func (*CommonEventHandler) HandleEvent ¶
func (*CommonEventHandler) HandlerType ¶
func (h *CommonEventHandler) HandlerType() eh.EventHandlerType
type EhEvent ¶
type EhEvent struct { Bus eh.EventBus Store eh.EventStore LogService service.LogService }
Click to show internal directories.
Click to hide internal directories.