Documentation
¶
Index ¶
Constants ¶
View Source
const ( HeaderOriginalSubject = "Penguin-Original-Subject" HeaderOriginalSequence = "Penguin-Original-Sequence" HeaderDeliveries = "Penguin-Deliveries" HeaderLastError = "Penguin-Last-Error" )
The headers of a task in the dead-letter stream.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Worker ¶
type Worker struct {
WorkerDeps
// contains filtered or unexported fields
}
type WorkerDeps ¶
type WorkerDeps struct {
fx.In
DB *bun.DB
Redis *redis.Client
NatsJS nats.JetStreamContext
NatsConn *nats.Conn
StageService *service.Stage
DropReportRepo *repo.DropReport
DropPatternRepo *repo.DropPattern
DropReportExtraRepo *repo.DropReportExtra
DropPatternElementRepo *repo.DropPatternElement
DropInfoRepo *repo.DropInfo
RejectRuleRepo *repo.RejectRule
}
Click to show internal directories.
Click to hide internal directories.