impressionscount

package
v5.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL