Engine represents an interface to a Seesaw Engine.
| 33 | |
| 34 | // Engine represents an interface to a Seesaw Engine. |
| 35 | type Engine interface { |
| 36 | HAConfig() (*seesaw.HAConfig, error) |
| 37 | HAState(spb.HaState) error |
| 38 | HAUpdate(seesaw.HAStatus) (bool, error) |
| 39 | } |
| 40 | |
| 41 | // EngineClient implements the Engine interface. It connects to the Seesaw |
| 42 | // Engine UNIX domain socket specified by Socket. |
no outgoing calls
no test coverage detected