CloudTaskEventsQueue creates a Google cloud task instance of events services.PushQueue
()
| 527 | |
| 528 | // CloudTaskEventsQueue creates a Google cloud task instance of events services.PushQueue |
| 529 | func (container *Container) CloudTaskEventsQueue() (queue services.PushQueue) { |
| 530 | container.logger.Debug("creating cloud task events services.PushQueue") |
| 531 | return services.NewGooglePushQueue( |
| 532 | container.Logger(), |
| 533 | container.Tracer(), |
| 534 | container.CloudTasksClient(), |
| 535 | container.EventsQueueConfiguration(), |
| 536 | ) |
| 537 | } |
| 538 | |
| 539 | // FCMClient creates the appropriate FCM client based on configuration. |
| 540 | // When FCM_ENDPOINT is set, it returns an EmulatorFCMClient that sends |
no test coverage detected