WebhookService creates a new instance of services.WebhookService
()
| 958 | |
| 959 | // WebhookService creates a new instance of services.WebhookService |
| 960 | func (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 |
| 975 | func (container *Container) Integration3CXService() (service *services.Integration3CXService) { |
no test coverage detected