Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Server = &ServerConfig{} Upload = &UploadConfig{} Mysql = &MysqlConfig{} Jwt = &JwtConfig{} )
逐个加载,方便使用
View Source
var Once sync.Once
Functions ¶
Types ¶
type MysqlConfig ¶
type ServerConfig ¶
type UploadConfig ¶
type UploadConfig struct {
UploadRootPath string `ini:"upload_root_path"`
}
Click to show internal directories.
Click to hide internal directories.