Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(repo *repository.Repository, kafkaProducer sarama.AsyncProducer, logger *zap.Logger) *Service
func (*Service) GetStatistics ¶
func (s *Service) GetStatistics(ctx context.Context) (*Statistics, error)
type Statistics ¶
type Statistics struct {
ProcessedMessages int `json:"processed_messages"`
}
Click to show internal directories.
Click to hide internal directories.