1234567891011121314151617181920212223242526 |
- package config
- import (
- "app.yhyue.com/moapp/jyInfo/entity"
- "github.com/zeromicro/go-zero/zrpc"
- )
- type Config struct {
- zrpc.RpcServerConf
- Webrpcport int64
- MysqlMain entity.MysqlMainStruct
- Redis entity.RedisStuct
- Task struct {
- IsRun bool //是否开启定时任务
- TaskInfoLog struct {
- Flag bool //首次开始是否执行
- Cron string //定时任务执行时间
- EffectiveTime string //清除xx天之前的日志数据
- }
- }
- Es entity.EsStruct
- Sensitive entity.Sensitive
- Nsq entity.NsqStruct
- Mgo entity.Mgo
- }
|