WebhookHandler creates a new instance of handlers.WebhookHandler
()
| 633 | |
| 634 | // WebhookHandler creates a new instance of handlers.WebhookHandler |
| 635 | func (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 |
| 646 | func (container *Container) HeartbeatHandlerValidator() (validator *validators.HeartbeatHandlerValidator) { |
no test coverage detected