(log slog.Logger, store InboxStore, ps pubsub.Pubsub)
| 29 | } |
| 30 | |
| 31 | func NewInboxHandler(log slog.Logger, store InboxStore, ps pubsub.Pubsub) *InboxHandler { |
| 32 | return &InboxHandler{log: log, store: store, pubsub: ps} |
| 33 | } |
| 34 | |
| 35 | func (s *InboxHandler) Dispatcher(payload types.MessagePayload, titleTmpl, bodyTmpl string, _ template.FuncMap) (DeliveryFunc, error) { |
| 36 | return s.dispatch(payload, titleTmpl, bodyTmpl), nil |
no outgoing calls