Versions in this module Expand all Collapse all v0 v0.0.2 Jul 10, 2019 v0.0.1 May 31, 2019 Changes in this version + type Cfg struct + ExpiredTime time.Duration + NamePrefix string + RetryTime time.Duration + func New() *Cfg + func (t *Cfg) GetID() int + func (t *Cfg) SetRedisClient(client *redis.Client) + func (t *Cfg) Start(fn func(err error)) + func (t *Cfg) Stop()