Documentation ¶ Index ¶ func GetInstance() *redis_spr.SprJobMgr func GetInstance_(name string) *redis_spr.SprJobMgr func Init(redisConfig *redis_spr.RedisConfig, logger log.Logger) error func Init_(name string, redisConfig *redis_spr.RedisConfig, logger log.Logger) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetInstance ¶ func GetInstance() *redis_spr.SprJobMgr func GetInstance_ ¶ func GetInstance_(name string) *redis_spr.SprJobMgr func Init ¶ func Init(redisConfig *redis_spr.RedisConfig, logger log.Logger) error func Init_ ¶ func Init_(name string, redisConfig *redis_spr.RedisConfig, logger log.Logger) error Init a new instance. If only need one instance, use empty name "". Use GetDefaultInstance() to get. If you need several instance, run Init() with different <name>. Use GetInstance(<name>) to get. Types ¶ This section is empty. Source Files ¶ View all Source files spr.go Click to show internal directories. Click to hide internal directories.