RegisterRoutes registers the SMTP testing API endpoints.
(mux *http.ServeMux, store event.Store)
| 59 | |
| 60 | // RegisterRoutes registers the SMTP testing API endpoints. |
| 61 | func (m *Module) RegisterRoutes(mux *http.ServeMux, store event.Store) { |
| 62 | registerSMTPAPI(mux, store, m) |
| 63 | } |
| 64 | |
| 65 | // OnEventStored notifies any long-poll waiters when a new SMTP event arrives. |
| 66 | func (m *Module) OnEventStored(ev event.Event) { |
nothing calls this directly
no test coverage detected