MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / WebhookHandler

Method WebhookHandler

api/pkg/di/container.go:635–643  ·  view source on GitHub ↗

WebhookHandler creates a new instance of handlers.WebhookHandler

()

Source from the content-addressed store, hash-verified

633
634// WebhookHandler creates a new instance of handlers.WebhookHandler
635func (container *Container) WebhookHandler() (h *handlers.WebhookHandler) {
636 container.logger.Debug(fmt.Sprintf("creating %T", h))
637 return handlers.NewWebhookHandler(
638 container.Logger(),
639 container.Tracer(),
640 container.WebhookService(),
641 container.WebhookHandlerValidator(),
642 )
643}
644
645// HeartbeatHandlerValidator creates a new instance of validators.HeartbeatHandlerValidator
646func (container *Container) HeartbeatHandlerValidator() (validator *validators.HeartbeatHandlerValidator) {

Callers 1

RegisterWebhookRoutesMethod · 0.95

Calls 5

LoggerMethod · 0.95
TracerMethod · 0.95
WebhookServiceMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected