Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfPath string Conf = &Config{} )
Conf info.
Functions ¶
Types ¶
type Config ¶
type Config struct { // bm HTTPServer *blademaster.ServerConfig // db DB *DB // base // elk XLog *log.Config // report log LogCli *log.AgentConfig // httpClinet HTTPClient *HTTPClient // tracer Tracer *trace.Config // host Host *Host // ArchStatus ArchStatus map[string]string // Redis Redis *Redis // Databus Env string Consume bool IsTest bool UpSub *upSub ChanSize int64 Monitor *Monitor // rpc client2 ArticleRPC *rpc.ClientConfig // identify App *blademaster.App Memcache *MC //API HOST API string Live string // auth Auth *permit.Config // hbase HBase *HBaseConfig HBase2 *HBaseConfig BfsConf *Bfs Debug bool TimeConf *TimeConfig MailConf *Mail // manager log config ManagerLog *databus.Config // GRPCClient GRPCClient *GRPC }
Config struct.
type HBaseConfig ¶
HBaseConfig for new hbase client.
type HTTPClient ¶
type HTTPClient struct { Normal *blademaster.ClientConfig Slow *blademaster.ClientConfig }
HTTPClient conf.
type Host ¶
type Host struct { API string Live string Search string Manager string Data string Tag string Coverrec string Videoup string }
Host conf.
type Monitor ¶
type Monitor struct { Host string Moni string UserName string AppSecret string AppToken string IntervalAlarm time.Duration }
Monitor conf.
type TimeConfig ¶
type TimeConfig struct { TaskScheduleTime string // 每天定时检查完成的task情况,format "10:59:59" CheckDueScheduleTime string // 每天定时检查快要过期的任务,format "10:59:59" RefreshUpRankTime string // 每天定时检查upRank表的任务,format "10:59:59" }
TimeConfig 定期任务时间
Click to show internal directories.
Click to hide internal directories.