(mux *http.ServeMux, store event.Store)
| 29 | } |
| 30 | |
| 31 | func (m *Module) RegisterRoutes(mux *http.ServeMux, store event.Store) { |
| 32 | if m.db != nil { |
| 33 | registerAPI(mux, m.db) |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | func (m *Module) HTTPHandler() module.HTTPIngestionHandler { |
| 38 | return &handler{db: m.db} |
nothing calls this directly
no test coverage detected