Documentation ¶
Overview ¶
Package mock_async is a generated GoMock package.
Index ¶
- type MockCache
- type MockCacheMockRecorder
- type MockTTLCache
- func (m *MockTTLCache) Delete(arg0 string)
- func (m *MockTTLCache) EXPECT() *MockTTLCacheMockRecorder
- func (m *MockTTLCache) Get(arg0 string) (interface{}, bool, bool)
- func (m *MockTTLCache) GetTTL() *async.TTL
- func (m *MockTTLCache) Set(arg0 string, arg1 interface{})
- func (m *MockTTLCache) SetTTL(arg0 *async.TTL)
- type MockTTLCacheMockRecorder
- func (mr *MockTTLCacheMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockTTLCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTTLCacheMockRecorder) GetTTL() *gomock.Call
- func (mr *MockTTLCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTTLCacheMockRecorder) SetTTL(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface.
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance.
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache.
func (*MockCacheMockRecorder) Delete ¶
func (mr *MockCacheMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCacheMockRecorder) Get ¶
func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCacheMockRecorder) Set ¶
func (mr *MockCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockTTLCache ¶
type MockTTLCache struct {
// contains filtered or unexported fields
}
MockTTLCache is a mock of TTLCache interface.
func NewMockTTLCache ¶
func NewMockTTLCache(ctrl *gomock.Controller) *MockTTLCache
NewMockTTLCache creates a new mock instance.
func (*MockTTLCache) EXPECT ¶
func (m *MockTTLCache) EXPECT() *MockTTLCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTTLCache) Get ¶
func (m *MockTTLCache) Get(arg0 string) (interface{}, bool, bool)
Get mocks base method.
func (*MockTTLCache) Set ¶
func (m *MockTTLCache) Set(arg0 string, arg1 interface{})
Set mocks base method.
func (*MockTTLCache) SetTTL ¶
func (m *MockTTLCache) SetTTL(arg0 *async.TTL)
SetTTL mocks base method.
type MockTTLCacheMockRecorder ¶
type MockTTLCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockTTLCacheMockRecorder is the mock recorder for MockTTLCache.
func (*MockTTLCacheMockRecorder) Delete ¶
func (mr *MockTTLCacheMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTTLCacheMockRecorder) Get ¶
func (mr *MockTTLCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTTLCacheMockRecorder) GetTTL ¶
func (mr *MockTTLCacheMockRecorder) GetTTL() *gomock.Call
GetTTL indicates an expected call of GetTTL.
func (*MockTTLCacheMockRecorder) Set ¶
func (mr *MockTTLCacheMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockTTLCacheMockRecorder) SetTTL ¶
func (mr *MockTTLCacheMockRecorder) SetTTL(arg0 interface{}) *gomock.Call
SetTTL indicates an expected call of SetTTL.