Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigDatabase = "etc/database.yaml" ConfigApp = "etc/app.yaml" )
configs
Variables ¶
View Source
var GinEntries []*GinEntry
GinEntries 处理对象
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct { Gin struct { AppSubURL string `json:"app_sub_url" yaml:"app_sub_url"` AppName string `json:"app_name" yaml:"app_name"` Address string `json:"address" yaml:"address"` Mode string `json:"mode" yaml:"mode"` } `json:"gin" yaml:"gin"` }
AppConfig 应用配置
type GinEntry ¶
type GinEntry struct { Root string APIVersion string Handlers []GinHandler }
Click to show internal directories.
Click to hide internal directories.