Documentation ¶
Overview ¶
Package mock_ttllru is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockcacher ¶
type Mockcacher struct {
// contains filtered or unexported fields
}
Mockcacher is a mock of cacher interface.
func NewMockcacher ¶
func NewMockcacher(ctrl *gomock.Controller) *Mockcacher
NewMockcacher creates a new mock instance.
func (*Mockcacher) Add ¶
func (m *Mockcacher) Add(key, value interface{}) bool
Add mocks base method.
func (*Mockcacher) EXPECT ¶
func (m *Mockcacher) EXPECT() *MockcacherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockcacher) Get ¶
func (m *Mockcacher) Get(key interface{}) (interface{}, bool)
Get mocks base method.
func (*Mockcacher) Remove ¶
func (m *Mockcacher) Remove(key interface{}) bool
Remove mocks base method.
type MockcacherMockRecorder ¶
type MockcacherMockRecorder struct {
// contains filtered or unexported fields
}
MockcacherMockRecorder is the mock recorder for Mockcacher.
func (*MockcacherMockRecorder) Add ¶
func (mr *MockcacherMockRecorder) Add(key, value interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockcacherMockRecorder) Get ¶
func (mr *MockcacherMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockcacherMockRecorder) Remove ¶
func (mr *MockcacherMockRecorder) Remove(key interface{}) *gomock.Call
Remove indicates an expected call of Remove.
Click to show internal directories.
Click to hide internal directories.