Documentation ¶
Index ¶
- func ProcessEventDeliveryBatches(ctx context.Context, status datastore.EventDeliveryStatus, ...)
- func RegisterNewGroupTask(applicationRepo datastore.ApplicationRepository, ...)
- func RegisterWorkerMetrics(q queue.Queuer, cfg config.Configuration)
- func RequeueEventDeliveries(status string, timeInterval string, ...) error
- type Cleaner
- type Producer
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessEventDeliveryBatches ¶ added in v0.4.19
func ProcessEventDeliveryBatches(ctx context.Context, status datastore.EventDeliveryStatus, eventDeliveryRepo datastore.EventDeliveryRepository, groupRepo datastore.GroupRepository, deliveryChan <-chan []datastore.EventDelivery, q *redisqueue.RedisQueue, wg *sync.WaitGroup)
func RegisterNewGroupTask ¶
func RegisterNewGroupTask(applicationRepo datastore.ApplicationRepository, eventDeliveryRepo datastore.EventDeliveryRepository, groupRepo datastore.GroupRepository, rateLimiter limiter.RateLimiter, eventRepo datastore.EventRepository, cache cache.Cache, eventQueue queue.Queuer)
func RegisterWorkerMetrics ¶ added in v0.4.10
func RegisterWorkerMetrics(q queue.Queuer, cfg config.Configuration)
func RequeueEventDeliveries ¶ added in v0.4.19
func RequeueEventDeliveries(status string, timeInterval string, eventDeliveryRepo datastore.EventDeliveryRepository, groupRepo datastore.GroupRepository, eventQueue queue.Queuer) error
Types ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
Click to show internal directories.
Click to hide internal directories.