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 8a4f0dd179
commit c248d5badd
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"`
}