package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

NewPeriodically returns an initialized Periodically flush strategy.
StrategyFromString returns a flush strategy from the given string.

# Constants

Starting is used to represent the moment the function is starting because it has been invoked.
Stopping is used to represent the moment right after the function has finished its execution.

# Structs

AtTheEnd strategy is the simply flushing the data at the end of the execution of the function.
Periodically is the strategy flushing at least every N [nano/micro/milli]seconds at the start of the function.

# Interfaces

Strategy is deciding whether the data should be flushed or not at the given moment.

# Type aliases

Moment represents at which moment we're asking the flush strategy if we should flush or not.