Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IrisConfig = iris.Configuration{ SocketSharding: true, DisableStartupLog: false, DisableInterruptHandler: false, DisablePathCorrection: false, DisablePathCorrectionRedirection: true, DisableBodyConsumptionOnUnmarshal: false, EnablePathIntelligence: false, EnablePathEscape: true, FireMethodNotAllowed: false, FireEmptyFormError: false, PostMaxMemory: 20 << 20, }
IrisConfig iris配置
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// 应用标识
Name string `yaml:"name"`
// 应用模式 dev/pro
Mode string `yaml:"mode"`
// 应用版本
Version string `yaml:"version"`
// 监听地址
Listen string `yaml:"listen"`
// 日志级别
Level string `yaml:"level"`
// 日志配置
Logger string `yaml:"logger"`
// MYSQL配置
Mysql string `yaml:"mysql"`
// SQLITE配置
Sqlite string `yaml:"sqlite"`
// 业务配置
Business string `yaml:"business"`
}
Click to show internal directories.
Click to hide internal directories.