Documentation ¶ Index ¶ type Service func NewService(application contracts.Application) *Service func (s *Service) Dispatch(ctx context.Context, payload contracts.Event) func (s *Service) Register(name string, listenersConstructor []contracts.EventListenerConstructor) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func NewService ¶ func NewService(application contracts.Application) *Service func (*Service) Dispatch ¶ func (s *Service) Dispatch(ctx context.Context, payload contracts.Event) func (*Service) Register ¶ func (s *Service) Register(name string, listenersConstructor []contracts.EventListenerConstructor) Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.