Documentation ¶
Overview ¶
Package redis is a wrapper of the original "github.com/redis/go-redis" library.
Only contains basic get, set, delete, and close methods.
Data will be encoded to JSON before saving to cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is redis client.
func NewFromGoRedis ¶
NewFromGoRedis to create cache from go-redis client.
func NewWithConfig ¶
NewWithConfig to create cache from go-redis options.
Click to show internal directories.
Click to hide internal directories.