Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalYAML ¶
func NewMapstructureDecoder ¶
func NewMapstructureDecoder(target any) (*mapstructure.Decoder, error)
Types ¶
type Config ¶
type Config struct { Seed uint64 `mapstructure:"seed" yaml:"seed" json:"seed"` WallclockStart time.Time `mapstructure:"wallclockStart" yaml:"wallclockStart" json:"wallclockStart"` Duration time.Duration `mapstructure:"duration" yaml:"duration" json:"duration"` Dryrun bool `mapstructure:"dryrun" yaml:"dryrun" json:"dryrun"` OTLPDestination OTLPDestination `mapstructure:"otlpDestination" yaml:"otlpDestination" json:"otlpDestination"` }
func DefaultConfig ¶ added in v0.5.0
func DefaultConfig() *Config
func LoadConfigs ¶
type Duration ¶
func DurationFromDuration ¶ added in v0.6.0
func (Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.