Documentation ¶
Index ¶
- type CacheClientMock
- func (c CacheClientMock) Delete(keys []string, prefix string) error
- func (c CacheClientMock) Get(key string) (interface{}, bool)
- func (c CacheClientMock) Gets(keys []string, prefix string) (map[string]interface{}, []string)
- func (c CacheClientMock) Persist(path string) error
- func (c CacheClientMock) Restore(path string) error
- func (c CacheClientMock) Set(key string, value interface{}, ttl int) error
- func (c CacheClientMock) Sets(values map[string]interface{}, prefix string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheClientMock ¶
func (CacheClientMock) Get ¶
func (c CacheClientMock) Get(key string) (interface{}, bool)
func (CacheClientMock) Gets ¶
func (c CacheClientMock) Gets(keys []string, prefix string) (map[string]interface{}, []string)
func (CacheClientMock) Persist ¶
func (c CacheClientMock) Persist(path string) error
func (CacheClientMock) Restore ¶
func (c CacheClientMock) Restore(path string) error
Click to show internal directories.
Click to hide internal directories.