Documentation ¶
Index ¶
- type Provider
- type StoreInterface
- func (_m *StoreInterface) Clear(ctx context.Context) error
- func (_m *StoreInterface) Delete(ctx context.Context, key interface{}) error
- func (_m *StoreInterface) Get(ctx context.Context, key interface{}) (interface{}, error)
- func (_m *StoreInterface) GetType() string
- func (_m *StoreInterface) GetWithTTL(ctx context.Context, key interface{}) (interface{}, time.Duration, error)
- func (_m *StoreInterface) Invalidate(ctx context.Context, options store.InvalidateOptions) error
- func (_m *StoreInterface) Set(ctx context.Context, key interface{}, value interface{}, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func (*Provider) Store ¶
func (_m *Provider) Store() store.StoreInterface
Store provides a mock function with given fields:
type StoreInterface ¶
StoreInterface is an autogenerated mock type for the StoreInterface type
func (*StoreInterface) Clear ¶
func (_m *StoreInterface) Clear(ctx context.Context) error
Clear provides a mock function with given fields: ctx
func (*StoreInterface) Delete ¶
func (_m *StoreInterface) Delete(ctx context.Context, key interface{}) error
Delete provides a mock function with given fields: ctx, key
func (*StoreInterface) Get ¶
func (_m *StoreInterface) Get(ctx context.Context, key interface{}) (interface{}, error)
Get provides a mock function with given fields: ctx, key
func (*StoreInterface) GetType ¶
func (_m *StoreInterface) GetType() string
GetType provides a mock function with given fields:
func (*StoreInterface) GetWithTTL ¶
func (_m *StoreInterface) GetWithTTL(ctx context.Context, key interface{}) (interface{}, time.Duration, error)
GetWithTTL provides a mock function with given fields: ctx, key
func (*StoreInterface) Invalidate ¶
func (_m *StoreInterface) Invalidate(ctx context.Context, options store.InvalidateOptions) error
Invalidate provides a mock function with given fields: ctx, options
Click to show internal directories.
Click to hide internal directories.