Expand description
A duration configuration value compatible with the Agent.
The Agent loads configuration via spf13/viper, which uses spf13/cast to coerce YAML/JSON/env
values into Go’s time.Duration. DurationString reproduces that coercion so ADP accepts the
same inputs and interprets them the same way.
Structs§
- Duration
String - A duration value that deserializes from the formats accepted by the Agent’s configuration loader.
Enums§
- Parse
Duration Error - Error returned when a duration value cannot be parsed.