Documentation
¶
Index ¶
- func Client() (*redis.Client, error)
- func Close() error
- func Exists(c context.Context, key string) (bool, error)
- func Get(c context.Context, key string) (string, error)
- func Init(cfg Config) (*redis.Client, error)
- func Set(c context.Context, key string, value interface{}, expiration time.Duration) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.