Versions in this module Expand all Collapse all v2 v2.0.0 Sep 21, 2026 Changes in this version + var ErrClientNil = errors.New("redissource: redis client is nil") + type Fetcher struct + func New(client Getter, key string) *Fetcher + func (f *Fetcher) AllowMissing() *Fetcher + func (f *Fetcher) Fetch(ctx context.Context, maxBytes int64) ([]byte, error) + func (f *Fetcher) Key() string + type Getter interface + Get func(ctx context.Context, key string) *redis.StringCmd + StrLen func(ctx context.Context, key string) *redis.IntCmd Other modules containing this package github.com/soulteary/parser-kit/v3