Documentation ¶
Index ¶
- type Cache
- func (_m *Cache) Contains(ctx context.Context, key string) bool
- func (_m *Cache) Delete(ctx context.Context, key string) error
- func (_m *Cache) Fetch(ctx context.Context, key string, value interface{}) error
- func (_m *Cache) Ping(ctx context.Context) error
- func (_m *Cache) Save(ctx context.Context, key string, value interface{}, ...) error
- func (_m *Cache) Scan(ctx context.Context, match string) (cache.Iterator, error)
- type Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
Cache is an autogenerated mock type for the Cache type
func NewCache ¶
NewCache creates a new instance of Cache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Iterator ¶
Iterator is an autogenerated mock type for the Iterator type
func NewIterator ¶
NewIterator creates a new instance of Iterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
Click to show internal directories.
Click to hide internal directories.