Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEventTypeNotFound = errors.New("event type not found")
)
Functions ¶
Types ¶
type Dispatch ¶
func NewDispatch ¶
type EventService ¶
type EventService struct {
PubSub pubsub.PubSub `inject:""`
Logger *slog.Logger `inject:""`
DP *di.DependencyProvider `inject:""`
// contains filtered or unexported fields
}
func Service ¶
func Service(listeners ...*Listener) *EventService
func (*EventService) Name ¶
func (s *EventService) Name() string
Click to show internal directories.
Click to hide internal directories.