Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConf ¶
type AppConf struct { LogSchemes log.OutputScheme `desc:"注册自定义文件处理"` // 注册自定义文件处理 Log map[string]log.Options `default:"app,server,debug"` // app: internal 打的日志,server:pkg 打的日志,debug: debugUser的打日志 Mode string `default:"dev"` HTTP http.HTTPConf DBSet map[string]*struct { Prefix string `default:"demo" desc:"redis 前缀"` Postgres pg.DB Redis redis.Option } `default:"dev"` Bp gameConf.BpConf `desc:"bp"` Profile pyroscope.ProfileConf // contains filtered or unexported fields }
func (*AppConf) GetYamlContent ¶
func (*AppConf) SetContext ¶
Click to show internal directories.
Click to hide internal directories.