Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceWorkerRepository ¶
type BalanceWorkerRepository interface {
ListAffectedEntitlements(ctx context.Context, filterPairs []IngestEventQueryFilter) ([]IngestEventDataResponse, error)
}
type IngestEventDataResponse ¶
type IngestEventQueryFilter ¶
type NamespacedID ¶
type NamespacedID = pkgmodels.NamespacedID
type SubjectIDResolver ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts WorkerOptions) (*Worker, error)
func (*Worker) GetEntitlementsAffectedByMeterSubject ¶
type WorkerDLQOptions ¶
type WorkerOptions ¶
type WorkerOptions struct { SystemEventsTopic string IngestEventsTopic string Subscriber message.Subscriber TargetTopic string DLQ *WorkerDLQOptions Publisher message.Publisher Marshaler publisher.CloudEventMarshaler Entitlement *registry.Entitlement Repo BalanceWorkerRepository // External connectors SubjectIDResolver SubjectIDResolver Logger *slog.Logger }
Click to show internal directories.
Click to hide internal directories.