Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // 服务器配置 Server Server `toml:"server"` // 数据库配置 DB DB `toml:"database"` // jwt配置 JWT JWT `toml:"jwt"` }
Config 配置
func MakeConfigFromFile ¶
MakeConfigFromFile 新建DB配置
Click to show internal directories.
Click to hide internal directories.