Documentation ¶
Index ¶
- type ImpressionManager
- type ImpressionManagerImpl
- func (i *ImpressionManagerImpl) Process(impressions []dtos.Impression, listenerEnabled bool) ([]dtos.Impression, []dtos.Impression)
- func (i *ImpressionManagerImpl) ProcessImpressions(impressions []dtos.Impression) ([]dtos.Impression, []dtos.Impression)
- func (i *ImpressionManagerImpl) ProcessSingle(impression *dtos.Impression) bool
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
Click to show internal directories.
Click to hide internal directories.