Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(opt *RingOptions) 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 RingOptions ¶
type RingOptions redis.RingOptions
RingOptions exports go-redis RingOptions type.
Click to show internal directories.
Click to hide internal directories.