Documentation
¶
Index ¶
- func Del(ctx context.Context, key string)
- func Get(ctx context.Context, key string) string
- func GetOrSet(ctx context.Context, key string, sec int, fn func() any) string
- func GetScan(ctx context.Context, key string, dst any) error
- func InitRedisCache(client *redis.Client)
- func Set(ctx context.Context, key string, val any, sec int) error
- type Cacher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.