MCPcopy Create free account
hub / github.com/belak/gitdir / User

Struct User

user.go:13–17  ·  view source on GitHub ↗

User is the internal representation of a user. This data is copied from the loaded config file.

Source from the content-addressed store, hash-verified

11// User is the internal representation of a user. This data is copied from the
12// loaded config file.
13type 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.
20var AnonymousUser = &User{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected