MCPcopy Create free account
hub / github.com/buggregator/server / RegisterRoutes

Method RegisterRoutes

modules/sentry/module.go:31–35  ·  view source on GitHub ↗
(mux *http.ServeMux, store event.Store)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

registerAPIFunction · 0.70

Tested by

no test coverage detected