Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
type Data struct { ServeAddr string `ini:"serveAddr"` InternalAddr string `ini:"internalAddr"` TusServer string `ini:"tusServer"` Log `ini:"log"` Redis `ini:"redis"` MySQL `ini:"mysql"` RabbitMQ `ini:"rabbitmq"` }
Data 配置
var Conf Data
Conf 配置
type Log ¶
type Log struct { LogDir string `ini:"logDir"` Module string `ini:"module"` MaxAge time.Duration `ini:"maxAge"` Rotation time.Duration `ini:"rotation"` Debug bool `ini:"debug"` }
Log 日志配置
Click to show internal directories.
Click to hide internal directories.