AdminConfigUser defines additional fields which main be loaded from the admin config.
| 17 | // AdminConfigUser defines additional fields which main be loaded from the admin |
| 18 | // config. |
| 19 | type AdminConfigUser struct { |
| 20 | UserConfig `yaml:",inline"` |
| 21 | |
| 22 | IsAdmin bool `yaml:"is_admin"` |
| 23 | Disabled bool `yaml:"disabled"` |
| 24 | // Invites []string `yaml:"invites"` |
| 25 | } |
| 26 | |
| 27 | // NewAdminConfigUser returns a blank AdminConfigUser. |
| 28 | func NewAdminConfigUser() *AdminConfigUser { |
nothing calls this directly
no outgoing calls
no test coverage detected