Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Title string // 应用程序标题 Copyright string // 版权信息 Debug bool // 是否开启调试 TimeFormat string // 时间格式 Charset string // 字符集 Settings map[string]interface{} // 应用配置 }
App 应用程序
type Cache ¶
type Cache struct { Proto string // 协议 Addr string // 地址 MaxOpenConns int // 最大连接数 MaxIdleConns int // 最大空闲连接数 ReadTimeout string // 读超时 WriteTimeout string // 写超时 }
Cache 缓存
type Config ¶
type Config struct { App *App // 应用程序 Server *Server // 服务器配置 Databases Databases // 数据库引擎列表 Caches Caches // 缓存引擎列表 }
Config 配置
Click to show internal directories.
Click to hide internal directories.