Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Sources []Source
RetryCount int `yaml:"retryCount"`
DestinationUrl string `yaml:"destinationUrl"`
ScanInterval time.Duration `yaml:"scanInterval"`
Timeout time.Duration `yaml:"timeout"`
}
Note: struct fields must be public in order for unmarshal to correctly populate the data.
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.