Documentation ¶ Index ¶ func CalcDailyReport(db *redis.Client, activeLink *models.ActiveLink) *dailyReportWrapper type Generator func NewGenerator(db *redis.Client, duration time.Duration) *Generator func (g *Generator) Start() error func (g *Generator) Stop() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CalcDailyReport ¶ func CalcDailyReport(db *redis.Client, activeLink *models.ActiveLink) *dailyReportWrapper Types ¶ type Generator ¶ type Generator struct { // contains filtered or unexported fields } func NewGenerator ¶ func NewGenerator(db *redis.Client, duration time.Duration) *Generator func (*Generator) Start ¶ func (g *Generator) Start() error func (*Generator) Stop ¶ func (g *Generator) Stop() error Source Files ¶ View all Source files generator.go service.go Click to show internal directories. Click to hide internal directories.