()
| 102 | } |
| 103 | |
| 104 | func (c *Client) Enabled() bool { |
| 105 | if c == nil { |
| 106 | return false |
| 107 | } |
| 108 | c.mu.Lock() |
| 109 | defer c.mu.Unlock() |
| 110 | return c.homeCfg.Enabled |
| 111 | } |
| 112 | |
| 113 | func (c *Client) HeartbeatOK() bool { |
| 114 | if c == nil { |
no outgoing calls
no test coverage detected