Documentation
¶
Overview ¶
Package system 提供了大部分与事个系统相关的功能
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backup ¶
type Backup struct { // 备份文件的路径 Dir string `json:"dir" yaml:"dir" xml:"dir"` // 备份的文件格式,以 Go 的时间格式作为格式。 Format string `json:"format" yaml:"format" xml:"format"` // 备份任务的执行时间 Cron string `yaml:"cron" json:"cron" xml:"cron"` // contains filtered or unexported fields }
Backup 备份数据的相关设置项
func (*Backup) SanitizeConfig ¶
func (b *Backup) SanitizeConfig() *web.FieldError
type Config ¶
type Config struct { // URLPrefix 该模块下的地址前缀 // // 默认值为 /system URLPrefix string `yaml:"urlPrefix" json:"urlPrefix" xml:"urlPrefix"` // Backup 备份数据的选项 Backup *Backup `yaml:"backup,omitempty" json:"backup,omitempty" xml:"backup,omitempty"` }
Config 配置项
func (*Config) SanitizeConfig ¶
func (c *Config) SanitizeConfig() *web.FieldError
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.