api: allow timeout field to be specified for checks

This commit is contained in:
Ryan Uber 2015-02-05 23:34:30 -08:00
parent 6cc9478c38
commit 5c2a764cbe
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ type AgentCheckRegistration struct {
type AgentServiceCheck struct {
Script string `json:",omitempty"`
Interval string `json:",omitempty"`
Timeout string `json:",omitempty"`
TTL string `json:",omitempty"`
HTTP string `json:",omitempty"`
}