Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string `yaml:"name"` // e.g. `open` or `close` Endpoint string `yaml:"endpoint"` HttpMethod string `yaml:"http_method"` Body string `yaml:"body"` RequiredStartState string `yaml:"required_start_state"` // if set, garage door will not operate if current state does not equal this RequiredFinishState string `yaml:"required_finish_state"` // if set, garage door will monitor the door state compared to this value to determine success Timeout int `yaml:"timeout"` // time to wait for garage door to operate if monitored }
Click to show internal directories.
Click to hide internal directories.