Versions in this module Expand all Collapse all v1 v1.1.1 Feb 25, 2020 Changes in this version + type Logger interface + Printf func(format string, args ...interface{}) + type Store interface + Get func(id string, clear bool) (digits []byte) + Set func(id string, digits []byte) + func NewMemoryStore(gcInterval, expiration time.Duration) Store + func NewRedisClusterStore(opts *redis.ClusterOptions, expiration time.Duration, out Logger, ...) Store + func NewRedisClusterStoreWithCli(cli *redis.ClusterClient, expiration time.Duration, out Logger, ...) Store + func NewRedisStore(opts *redis.Options, expiration time.Duration, out Logger, prefix ...string) Store + func NewRedisStoreWithCli(cli *redis.Client, expiration time.Duration, out Logger, prefix ...string) Store