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
Click to show internal directories.
Click to hide internal directories.