Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + const VERSION + var ConfigFile string + var RedisConnPool *redis.Pool + func InitLog(level string) (err error) + func InitRedisConnPool() + func Link(event *cmodel.Event) string + func ParseConfig(cfg string) + func PingRedis(c redis.Conn, t time.Time) error + type ApiConfig struct + Dashboard string + IM string + Mail string + PlusApi string + PlusApiToken string + Sms string + type FalconPortalConfig struct + Addr string + Idle int + Max int + type GlobalConfig struct + Api *ApiConfig + FalconPortal *FalconPortalConfig + Housekeeper *HousekeeperConfig + Http *HttpConfig + LogLevel string + Redis *RedisConfig + Worker *WorkerConfig + func Config() *GlobalConfig + type HousekeeperConfig struct + EventDeleteBatch int + EventRetentionDays int + type HttpConfig struct + Enabled bool + Listen string + type RedisConfig struct + Addr string + HighQueues []string + LowQueues []string + MaxIdle int + UserIMQueue string + UserMailQueue string + UserSmsQueue string + type WorkerConfig struct + IM int + Mail int + Sms int