Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(opt *RedisOptions) cache.Adapter
NewAdapter initializes Redis adapter.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter is the memory adapter data structure.
type RedisOptions ¶
type RedisOptions = redis.Options
Click to show internal directories.
Click to hide internal directories.