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

Method CloudTaskEventsQueue

api/pkg/di/container.go:529–537  ·  view source on GitHub ↗

CloudTaskEventsQueue creates a Google cloud task instance of events services.PushQueue

()

Source from the content-addressed store, hash-verified

527
528// CloudTaskEventsQueue creates a Google cloud task instance of events services.PushQueue
529func (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

Callers 1

EventsQueueMethod · 0.95

Calls 5

LoggerMethod · 0.95
TracerMethod · 0.95
CloudTasksClientMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected