diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-01-24 18:29:38 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-01-24 18:29:38 -0500 |
| commit | 6ec85b96ad4fee6ec1767f6b78f92a38ce658a06 (patch) | |
| tree | 520dc1c0055a44370c4aaa61fc4daaec8af16090 /cmd/main/main.go | |
| parent | 9c8cc14958c248ddba1669becb5e026d43dd997c (diff) | |
| download | checkup-6ec85b96ad4fee6ec1767f6b78f92a38ce658a06.tar.gz checkup-6ec85b96ad4fee6ec1767f6b78f92a38ce658a06.tar.xz | |
Allow the timeout to be adjusted
Diffstat (limited to 'cmd/main/main.go')
| -rw-r--r-- | cmd/main/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/main/main.go b/cmd/main/main.go index 34fc6f4..1b264a3 100644 --- a/cmd/main/main.go +++ b/cmd/main/main.go @@ -31,6 +31,7 @@ type Config struct { StatusChecks map[string]*int `yaml:"StatusChecks"` Workers int `yaml:"Workers"` Interval int `yaml:"Interval"` + HTTPTimeout int `yaml:"HTTPTimeout"` } func ReadConfig(fn string, conf *Config) error { |
