优化配置文件的结构体,优化文件上传与下载功能,系统配置的前端展示更友好及其他的优化
This commit is contained in:
11
server/config/email.go
Normal file
11
server/config/email.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package config
|
||||
|
||||
type Email struct {
|
||||
To string `mapstructure:"to" json:"to" yaml:"to"`
|
||||
Port int `mapstructure:"port" json:"port" yaml:"port"`
|
||||
From string `mapstructure:"from" json:"from" yaml:"from"`
|
||||
Host string `mapstructure:"host" json:"host" yaml:"host"`
|
||||
IsSSL bool `mapstructure:"is-ssl" json:"isSSL" yaml:"is-ssl"`
|
||||
Secret string `mapstructure:"secret" json:"secret" yaml:"secret"`
|
||||
Nickname string `mapstructure:"nickname" json:"nickname" yaml:"nickname"`
|
||||
}
|
Reference in New Issue
Block a user