Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockcacheAccessor
- func (m *MockcacheAccessor) EXPECT() *MockcacheAccessorMockRecorder
- func (m *MockcacheAccessor) Get(ctx context.Context, key string) (string, bool, error)
- func (m *MockcacheAccessor) Invalidate(ctx context.Context, key string) error
- func (m *MockcacheAccessor) Set(ctx context.Context, key, value string, ttl time.Duration) error
- type MockcacheAccessorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockcacheAccessor ¶
type MockcacheAccessor struct {
// contains filtered or unexported fields
}
MockcacheAccessor is a mock of cacheAccessor interface.
func NewMockcacheAccessor ¶
func NewMockcacheAccessor(ctrl *gomock.Controller) *MockcacheAccessor
NewMockcacheAccessor creates a new mock instance.
func (*MockcacheAccessor) EXPECT ¶
func (m *MockcacheAccessor) EXPECT() *MockcacheAccessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockcacheAccessor) Invalidate ¶
func (m *MockcacheAccessor) Invalidate(ctx context.Context, key string) error
Invalidate mocks base method.
type MockcacheAccessorMockRecorder ¶
type MockcacheAccessorMockRecorder struct {
// contains filtered or unexported fields
}
MockcacheAccessorMockRecorder is the mock recorder for MockcacheAccessor.
func (*MockcacheAccessorMockRecorder) Get ¶
func (mr *MockcacheAccessorMockRecorder) Get(ctx, key any) *gomock.Call
Get indicates an expected call of Get.
func (*MockcacheAccessorMockRecorder) Invalidate ¶
func (mr *MockcacheAccessorMockRecorder) Invalidate(ctx, key any) *gomock.Call
Invalidate indicates an expected call of Invalidate.
Click to show internal directories.
Click to hide internal directories.