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

Method WebhookService

api/pkg/di/container.go:960–972  ·  view source on GitHub ↗

WebhookService creates a new instance of services.WebhookService

()

Source from the content-addressed store, hash-verified

958
959// WebhookService creates a new instance of services.WebhookService
960func (container *Container) WebhookService() (service *services.WebhookService) {
961 container.logger.Debug(fmt.Sprintf("creating %T", service))
962 return services.NewWebhookService(
963 container.Logger(),
964 container.Tracer(),
965 &http.Client{
966 Timeout: 6 * time.Second,
967 Transport: container.HTTPRoundTripperWithoutRetry("webhook"),
968 },
969 container.WebhookRepository(),
970 container.EventDispatcher(),
971 )
972}
973
974// Integration3CXService creates a new instance of services.Integration3CXService
975func (container *Container) Integration3CXService() (service *services.Integration3CXService) {

Callers 2

WebhookHandlerMethod · 0.95

Calls 6

LoggerMethod · 0.95
TracerMethod · 0.95
WebhookRepositoryMethod · 0.95
EventDispatcherMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected