Versions in this module Expand all Collapse all v0 v0.8.1 Mar 22, 2024 Changes in this version + type RedisLogger interface + Printf func(ctx context.Context, format string, v ...any) + type Stasher interface + Stash func(ctx context.Context, mod, ver string) (string, error) + func New(f module.Fetcher, s storage.Backend, indexer index.Indexer, ...) Stasher + func WithGCSLock(s Stasher) Stasher + func WithSingleflight(s Stasher) Stasher + type Wrapper func(Stasher) Stasher + func WithAzureBlobLock(conf *config.AzureBlobConfig, timeout time.Duration, checker storage.Checker) (Wrapper, error) + func WithEtcd(endpoints []string, checker storage.Checker) (Wrapper, error) + func WithPool(numWorkers int) Wrapper + func WithRedisLock(l RedisLogger, endpoint, password string, checker storage.Checker, ...) (Wrapper, error) + func WithRedisSentinelLock(l RedisLogger, endpoints []string, master, password string, ...) (Wrapper, error)