Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsForProducer ¶
type MetricsForProducer interface {
TotalProducedInc()
}
MetricsForProducer provides a method to increase total produced counter
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func New ¶
func New( log *slog.Logger, taskSaver TaskSaver, taskPublisher TaskPublisher, stateProvider StateProvider, metrics MetricsForProducer, ) *Producer
type StateProvider ¶
StateProvider returns task state for a provided task id
Click to show internal directories.
Click to hide internal directories.