mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-24 15:56:31 +00:00
14 lines
339 B
Go
14 lines
339 B
Go
package config
|
|
|
|
type SeedUser struct {
|
|
Name string `yaml:"name"`
|
|
Email string `yaml:"email"`
|
|
Password string `yaml:"password"`
|
|
IsSuperuser bool `yaml:"isSuperuser"`
|
|
}
|
|
|
|
type Seed struct {
|
|
Enabled bool `yaml:"enabled" conf:"default:false"`
|
|
Users []SeedUser `yaml:"users"`
|
|
Group string `yaml:"group"`
|
|
}
|