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

Method RegisterRoutes

modules/smtp/module.go:61–63  ·  view source on GitHub ↗

RegisterRoutes registers the SMTP testing API endpoints.

(mux *http.ServeMux, store event.Store)

Source from the content-addressed store, hash-verified

59
60// RegisterRoutes registers the SMTP testing API endpoints.
61func (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.
66func (m *Module) OnEventStored(ev event.Event) {

Callers

nothing calls this directly

Calls 1

registerSMTPAPIFunction · 0.85

Tested by

no test coverage detected