provisional

package
v6.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 2 Imported by: 6

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
	Process(impressions []dtos.Impression, listenerEnabled bool) ([]dtos.Impression, []dtos.Impression)
}

ImpressionManager interface

func NewImpressionManager

func NewImpressionManager(processStrategy strategy.ProcessStrategyInterface) ImpressionManager

DEPRECATED NewImpressionManager creates new ImpManager

func NewImpressionManagerImp added in v6.1.0

func NewImpressionManagerImp(none *strategy.NoneImpl, processStrategy strategy.ProcessStrategyInterface) ImpressionManager

type ImpressionManagerImpl

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

ImpressionManagerImpl implements

func (*ImpressionManagerImpl) Process added in v6.1.0

func (i *ImpressionManagerImpl) Process(impressions []dtos.Impression, listenerEnabled bool) ([]dtos.Impression, []dtos.Impression)

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