Documentation ¶
Overview ¶
Package conf 配置文件信息
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
type Conf struct { ListenAddr string `env:"LISTEN_ADDR" default:":12580"` Debug bool `env:"DEBUG" default:"false"` SelfAddr string `env:"SELF_ADDR"` UCAddr string `env:"UC_ADDR"` UCClientID string `env:"UC_CLIENT_ID"` UCClientSecret string `env:"UC_CLIENT_SECRET"` UCAuditorCron string `env:"UC_AUDITOR_CRON" default:"0 */1 * * * ?"` // UC审计拉取周期 UCAuditorPullSize uint64 `env:"UC_AUDITOR_PULL_SIZE" default:"30"` // UC审计拉取大小 CompensationExecCron string `env:"COMPENSATION_EXEC_CRON" default:"0 */5 * * * ?"` // UC审计发送失败,补偿周期 UCSyncRecordCleanCron string `env:"UC_SYNCRECORD_CLEAN_CRON" default:"0 0 3 * * ?"` // UC同步记录删除周期 }
Conf Adaptor 环境变量配置项
Click to show internal directories.
Click to hide internal directories.