AddUser adds a new user to the in-memory database. You can then add credentials for the SSH connection to the user. If the user already exists, this function throws a panic.
(username string)
| 500 | // AddUser adds a new user to the in-memory database. You can then add credentials for the |
| 501 | // SSH connection to the user. If the user already exists, this function throws a panic. |
| 502 | AddUser(username string) AuthUser |
| 503 | // GetUser returns a user with a specific username. If the user is not found, this function |
| 504 | // throws a panic. |
| 505 | GetUser(username string) (AuthUser, error) |
no outgoing calls