Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitByMultiple ¶
func StartFilebrowser ¶
func StartFilebrowser()
Types ¶
type Frontend ¶
type Frontend struct {
Name string `yaml:"name,omitempty"`
}
Frontend defines settings related to the web interface.
type LogConfig ¶
type LogConfig struct { Levels string `json:"levels"` // separated list of log levels to enable. (eg. "info|warning|error|debug") ApiLevels string `json:"apiLevels"` // separated list of log levels to enable for the API. (eg. "info|warning|error") Output string `json:"output"` // output location. (eg. "stdout" or "path/to/file.log") NoColors bool `json:"noColors"` // disable colors in the output Utc bool `json:"utc"` // use UTC time in the output instead of local time }
type Server ¶
type Server struct { Port int `yaml:"port"` Database string `yaml:"database"` Sources []Source `yaml:"sources"` Logging []LogConfig `json:"logging"` }
Server defines server-specific configurations.
type Settings ¶
type Settings struct { Server Server `yaml:"server"` Frontend Frontend `yaml:"frontend,omitempty"` Auth Auth `yaml:"auth"` UserDefaults UserDefaults `yaml:"userDefaults"` }
Settings is the top-level configuration structure.
type UserDefaults ¶
type UserDefaults struct {
Permissions users.Permissions `yaml:"permissions"`
}
UserDefaults defines default settings for new users.
Click to show internal directories.
Click to hide internal directories.