Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockErrCacher ¶
type MockErrCacher[K any] struct { // contains filtered or unexported fields }
MockErrCacher is a mock of ErrCacher interface.
func NewMockErrCacher ¶
func NewMockErrCacher[K any](ctrl *gomock.Controller) *MockErrCacher[K]
NewMockErrCacher creates a new mock instance.
func (*MockErrCacher[K]) CacheError ¶
CacheError mocks base method.
func (*MockErrCacher[K]) EXPECT ¶
func (m *MockErrCacher[K]) EXPECT() *MockErrCacherMockRecorder[K]
EXPECT returns an object that allows the caller to indicate expected use.
type MockErrCacherMockRecorder ¶
type MockErrCacherMockRecorder[K any] struct { // contains filtered or unexported fields }
MockErrCacherMockRecorder is the mock recorder for MockErrCacher.
func (*MockErrCacherMockRecorder[K]) CacheError ¶
func (mr *MockErrCacherMockRecorder[K]) CacheError(ctx, key, err, errTtl interface{}) *gomock.Call
CacheError indicates an expected call of CacheError.
func (*MockErrCacherMockRecorder[K]) GetError ¶
func (mr *MockErrCacherMockRecorder[K]) GetError(ctx, key interface{}) *gomock.Call
GetError indicates an expected call of GetError.
Click to show internal directories.
Click to hide internal directories.