Versions in this module Expand all Collapse all v1 v1.1.0 May 22, 2020 Changes in this version type Config + AlwaysActive bool v1.0.0 Nov 14, 2018 Changes in this version + var ACTIVATED uint8 = 1 + var DEACTIVATED uint8 + type Config struct + ActiveWait time.Duration + HotWait time.Duration + Limit int + type Hotstreak struct + ActiveWait time.Duration + HotWait time.Duration + Limit int + func New(config Config) *Hotstreak + func (hs *Hotstreak) Activate() *Hotstreak + func (hs *Hotstreak) Deactivate() *Hotstreak + func (hs *Hotstreak) Hit() *Hotstreak + func (hs *Hotstreak) IsActive() bool + func (hs *Hotstreak) IsHot() bool