package main

type GlobalConf struct {
	Mongo MgoConf
	Cron  CronConf
	Log   Log
	Env   EnvConf
}

type MgoConf struct {
	Host     string
	DB       string
	Coll     string // 查询表
	Username string
	Password string
	Size     int
}

//CronConf 定时任务
type CronConf struct {
	Spec  string
	Specq string
	Start int
	End   int
}

type Log struct {
	LogPath    string
	MaxSize    int
	Compress   bool
	MaxAge     int
	MaxBackups int
	LogLevel   string
	Format     string
}

type EnvConf struct {
	LocalPort   string
	QyxyColl    string
	BiddingColl string
}
