provisional

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: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImpressionManager

type ImpressionManager interface {
	ProcessImpressions(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression)
	ProcessSingle(impression *dtos.Impression) bool
}

ImpressionManager interface

func NewImpressionManager

func NewImpressionManager(processStrategy strategy.ProcessStrategyInterface) ImpressionManager

NewImpressionManager creates new ImpManager

type ImpressionManagerImpl

type ImpressionManagerImpl struct {
	// contains filtered or unexported fields
}

ImpressionManagerImpl implements

func (*ImpressionManagerImpl) ProcessImpressions

func (i *ImpressionManagerImpl) ProcessImpressions(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression)

ProcessImpressions bulk processes

func (*ImpressionManagerImpl) ProcessSingle

func (i *ImpressionManagerImpl) ProcessSingle(impression *dtos.Impression) bool

ProcessSingle accepts a pointer to an impression, updates it's PT accordingly, and returns whether it should be sent to the BE and to the lister

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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