Exctacted a method for parsing checks

This commit is contained in:
Diptanu Choudhury
2015-11-17 14:21:14 -08:00
parent acc8ca73f7
commit 3a250a179b
3 changed files with 37 additions and 26 deletions

View File

@@ -26,6 +26,9 @@ type ServiceCheck struct {
Id string
Name string
Type string
Script string
Http string
Protocol string
Interval time.Duration
Timeout time.Duration
}