Add to readme, remove comment

This commit is contained in:
Matej Kramny
2016-05-19 19:26:29 +01:00
parent 6e9f5440ba
commit 9d0e176695
2 changed files with 9 additions and 3 deletions

View File

@@ -29,9 +29,8 @@ type Monitor struct {
ComponentID int `json:"component_id"`
// Threshold = percentage
Threshold float32 `json:"threshold"`
// Saturat
ExpectedStatusCode int `json:"expected_status_code"`
Threshold float32 `json:"threshold"`
ExpectedStatusCode int `json:"expected_status_code"`
// compiled to Regexp
ExpectedBody string `json:"expected_body"`
bodyRegexp *regexp.Regexp