Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { URIs map[string]string RandomDelayEnabled bool ConfigAndPing bool UserAgent string Suffix string }
Config holds the application configuration
func NewConfigFromEnv ¶
func NewConfigFromEnv() Config
NewConfigFromEnv creates and fills a Config from os.Environ()
func (Config) GetGraphName ¶ added in v1.4.0
GetGraphName returns the suffixed graph name
func (*Config) SetSuffixFromArg0 ¶ added in v1.4.0
SetSuffixFromArg0 set the graph name suffix from the program full name
Click to show internal directories.
Click to hide internal directories.