Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(opt *RingOptions, opts ...AdapterOptions) cache.Adapter
NewAdapter initializes Redis adapter.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
type AdapterOptions ¶
type AdapterOptions func(a *Adapter)
func WithDebug ¶
func WithDebug(debug bool) AdapterOptions
type RingOptions ¶
type RingOptions redis.RingOptions
Click to show internal directories.
Click to hide internal directories.