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

Method EventsQueueConfiguration

api/pkg/di/container.go:495–504  ·  view source on GitHub ↗

EventsQueueConfiguration creates a new instance of services.PushQueueConfig

()

Source from the content-addressed store, hash-verified

493
494// EventsQueueConfiguration creates a new instance of services.PushQueueConfig
495func (container *Container) EventsQueueConfiguration() (config services.PushQueueConfig) {
496 container.logger.Debug(fmt.Sprintf("creating %T", config))
497
498 return services.PushQueueConfig{
499 UserAPIKey: os.Getenv("EVENTS_QUEUE_USER_API_KEY"),
500 Name: os.Getenv("EVENTS_QUEUE_NAME"),
501 UserID: entities.UserID(os.Getenv("EVENTS_QUEUE_USER_ID")),
502 ConsumerEndpoint: os.Getenv("EVENTS_QUEUE_ENDPOINT"),
503 }
504}
505
506// EventsQueue creates a new instance of services.PushQueue
507func (container *Container) EventsQueue() (queue services.PushQueue) {

Callers 4

EmulatorEventsQueueMethod · 0.95
CloudTaskEventsQueueMethod · 0.95
EventDispatcherMethod · 0.95
EventsHandlerMethod · 0.95

Calls 1

DebugMethod · 0.65

Tested by

no test coverage detected