()
| 189 | } |
| 190 | |
| 191 | func (c *cliConnection) IsLoggedIn() (bool, error) { |
| 192 | var result bool |
| 193 | |
| 194 | err := c.withClientDo(func(client *rpc.Client) error { |
| 195 | return client.Call("CliRpcCmd.IsLoggedIn", "", &result) |
| 196 | }) |
| 197 | |
| 198 | return result, err |
| 199 | } |
| 200 | |
| 201 | func (c *cliConnection) HasOrganization() (bool, error) { |
| 202 | var result bool |
nothing calls this directly
no test coverage detected