Handler is responsible for preparing and delivering a notification by a given method.
| 31 | |
| 32 | // Handler is responsible for preparing and delivering a notification by a given method. |
| 33 | type Handler interface { |
| 34 | // Dispatcher constructs a DeliveryFunc to be used for delivering a notification via the chosen method. |
| 35 | Dispatcher(payload types.MessagePayload, title, body string, helpers template.FuncMap) (dispatch.DeliveryFunc, error) |
| 36 | } |
| 37 | |
| 38 | // Enqueuer enqueues a new notification message in the store and returns its ID, should it enqueue without failure. |
| 39 | type Enqueuer interface { |
no outgoing calls
no test coverage detected