ActiveUser will retrieve the username for the active user at the given hostname. This will not be accurate if the oauth token is set from an environment variable.
(hostname string)
| 165 | // |
| 166 | // This will not be accurate if the oauth token is set from an environment variable. |
| 167 | ActiveUser(hostname string) (username string, err error) |
| 168 | |
| 169 | // Hosts retrieves a list of known hosts. |
| 170 | Hosts() []string |
no outgoing calls