Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpressionsCountRecorder ¶
type ImpressionsCountRecorder interface {
SynchronizeImpressionsCount() error
}
ImpressionsCountRecorder interface
func NewRecorderRedis ¶
func NewRecorderRedis( impressionsCounter *strategy.ImpressionsCounter, impressionsCountStorage storage.ImpressionsCountProducer, logger logging.LoggerInterface, ) ImpressionsCountRecorder
NewRecorderRedis creates new impressionsCount synchronizer for log impressionsCount in redis
func NewRecorderSingle ¶
func NewRecorderSingle( impressionsCounter *strategy.ImpressionsCounter, impressionRecorder service.ImpressionsRecorder, metadata dtos.Metadata, logger logging.LoggerInterface, runtimeTelemetry storage.TelemetryRuntimeProducer, ) ImpressionsCountRecorder
NewRecorderSingle creates new impressionsCount synchronizer for posting impressionsCount
type RecorderRedis ¶
type RecorderRedis struct {
// contains filtered or unexported fields
}
RecorderRedis struct for impressionsCount sync
func (*RecorderRedis) SynchronizeImpressionsCount ¶
func (m *RecorderRedis) SynchronizeImpressionsCount() error
SynchronizeImpressionsCount syncs imp counts
type RecorderSingle ¶
type RecorderSingle struct {
// contains filtered or unexported fields
}
RecorderSingle struct for impressionsCount sync
func (*RecorderSingle) SynchronizeImpressionsCount ¶
func (m *RecorderSingle) SynchronizeImpressionsCount() error
SynchronizeImpressionsCount syncs imp counts
Click to show internal directories.
Click to hide internal directories.