Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf config Conf = &Config{} )
Functions ¶
Types ¶
type Config ¶
type Config struct { Log *log.Config BM *bm.ServerConfig Tracer *trace.Config Redis *redis.Config Memcache *memcache.Config DB *DB Ecode *ecode.Config // rpc DynamicRPC *rpc.ClientConfig FavoriteRPC *rpc.ClientConfig ArchiveRPC *rpc.ClientConfig // Host Host Host // HTTP client HTTPClient *bm.ClientConfig MessageHTTPClient *bm.ClientConfig // Rule Rule *Rule //Push push urls Push *Push //Message Message Message // App App *bm.App // databus ArchiveNotifySub *databus.Config // Warden Client ArcClient *warden.ClientConfig }
Config .
type Push ¶
type Push struct { BusinessID int BusinessToken string PartSize int RetryTimes int Title string BodyDefault string BodySpecial string OnlyMids string }
Push push.
type Rule ¶
type Rule struct { BroadFeed int SleepInterval time.Duration Before time.Duration ScoreSleep time.Duration AlertTitle string AlertBodyDefault string AlertBodySpecial string CoinPercent float64 FavPercent float64 DmPercent float64 ReplyPercent float64 ViewPercent float64 LikePercent float64 NewDay float64 NewPercent float64 }
Rule .
Click to show internal directories.
Click to hide internal directories.