Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(r rediser, opts ...AdapterOption) 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 AdapterOption ¶
func AdapterWithPrefixKey ¶
func AdapterWithPrefixKey(prefixKey string) AdapterOption
Click to show internal directories.
Click to hide internal directories.