util

package
v4.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldAddPreviousTime

func ShouldAddPreviousTime(managerConfig conf.ManagerConfig) bool

ShouldAddPreviousTime returns if previous time should be set up or not depending on operationMode

func ShouldBeOptimized

func ShouldBeOptimized(managerConfig conf.ManagerConfig) bool

ShouldBeOptimized returns if should dedupe impressions or not depending on configs

func TruncateTimeFrame

func TruncateTimeFrame(timestampInNs int64) int64

TruncateTimeFrame truncates de time frame received with the time window

Types

This section is empty.

Jump to

Keyboard shortcuts

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