Update conf.go
This commit is contained in:
parent
af85580c4d
commit
74858759d2
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,10 @@ type ssl struct {
|
|||
Listen string `validate:"required"`
|
||||
}
|
||||
|
||||
type unix struct {
|
||||
Listen string
|
||||
}
|
||||
|
||||
// slave 作为slave存储端配置
|
||||
type slave struct {
|
||||
Secret string `validate:"omitempty,gte=64"`
|
||||
|
@ -121,6 +125,7 @@ func Init(path string) {
|
|||
"Database": DatabaseConfig,
|
||||
"System": SystemConfig,
|
||||
"SSL": SSLConfig,
|
||||
"Unix": UnixConfig,
|
||||
"Captcha": CaptchaConfig,
|
||||
"Redis": RedisConfig,
|
||||
"Thumbnail": ThumbConfig,
|
||||
|
|
Loading…
Add table
Reference in a new issue