package
Version:
v0.0.0-...-7eeeacd
Opens a new window with list of versions in this module.
Published: Oct 12, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Validate 校验 app 未覆盖的业务配置。
type Auth struct {
JWTSecret string `json:"jwt_secret"`
ExpiresIn time.Duration `json:"expires_in"`
}
type Bootstrap struct {
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
}
type Config struct {
Auth Auth `json:"auth"`
Storage Storage `json:"storage"`
Bootstrap Bootstrap `json:"bootstrap"`
}
type Storage struct {
Root string `json:"root"`
MaxUploadBytes int64 `json:"max_upload_bytes"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.