(payload types.MessagePayload, titleTmpl, bodyTmpl string, _ template.FuncMap)
| 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 |
| 37 | } |
| 38 | |
| 39 | func (s *InboxHandler) dispatch(payload types.MessagePayload, title, body string) DeliveryFunc { |
| 40 | return func(ctx context.Context, msgID uuid.UUID) (bool, error) { |