User is the internal representation of a user. This data is copied from the loaded config file.
| 11 | // User is the internal representation of a user. This data is copied from the |
| 12 | // loaded config file. |
| 13 | type User struct { |
| 14 | Username string |
| 15 | IsAnonymous bool |
| 16 | IsAdmin bool |
| 17 | } |
| 18 | |
| 19 | // AnonymousUser is the user that is returned when no user is available. |
| 20 | var AnonymousUser = &User{ |
nothing calls this directly
no outgoing calls
no test coverage detected