Documentation ¶
Overview ¶
Package mock_redis is a generated GoMock package.
Index ¶
- type MockExpiringHashInterface
- func (m *MockExpiringHashInterface) EXPECT() *MockExpiringHashInterfaceMockRecorder
- func (m *MockExpiringHashInterface) Forget(arg0 interface{}, arg1 int64)
- func (m *MockExpiringHashInterface) GC() func(context.Context) (int, error)
- func (m *MockExpiringHashInterface) Len(arg0 context.Context, arg1 interface{}) (int64, error)
- func (m *MockExpiringHashInterface) Refresh(arg0 time.Time) redistool.IOFunc
- func (m *MockExpiringHashInterface) Scan(arg0 context.Context, arg1 interface{}, arg2 redistool.ScanCallback) (int, error)
- func (m *MockExpiringHashInterface) Set(arg0 interface{}, arg1 int64, arg2 []byte) redistool.IOFunc
- func (m *MockExpiringHashInterface) Unset(arg0 interface{}, arg1 int64) redistool.IOFunc
- type MockExpiringHashInterfaceMockRecorder
- func (mr *MockExpiringHashInterfaceMockRecorder) Forget(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) GC() *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Len(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Refresh(arg0 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Scan(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Unset(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExpiringHashInterface ¶
type MockExpiringHashInterface struct {
// contains filtered or unexported fields
}
MockExpiringHashInterface is a mock of ExpiringHashInterface interface.
func NewMockExpiringHashInterface ¶
func NewMockExpiringHashInterface(ctrl *gomock.Controller) *MockExpiringHashInterface
NewMockExpiringHashInterface creates a new mock instance.
func (*MockExpiringHashInterface) EXPECT ¶
func (m *MockExpiringHashInterface) EXPECT() *MockExpiringHashInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExpiringHashInterface) Forget ¶ added in v15.3.0
func (m *MockExpiringHashInterface) Forget(arg0 interface{}, arg1 int64)
Forget mocks base method.
func (*MockExpiringHashInterface) GC ¶
func (m *MockExpiringHashInterface) GC() func(context.Context) (int, error)
GC mocks base method.
func (*MockExpiringHashInterface) Len ¶ added in v15.2.0
func (m *MockExpiringHashInterface) Len(arg0 context.Context, arg1 interface{}) (int64, error)
Len mocks base method.
func (*MockExpiringHashInterface) Refresh ¶
func (m *MockExpiringHashInterface) Refresh(arg0 time.Time) redistool.IOFunc
Refresh mocks base method.
func (*MockExpiringHashInterface) Scan ¶
func (m *MockExpiringHashInterface) Scan(arg0 context.Context, arg1 interface{}, arg2 redistool.ScanCallback) (int, error)
Scan mocks base method.
type MockExpiringHashInterfaceMockRecorder ¶
type MockExpiringHashInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockExpiringHashInterfaceMockRecorder is the mock recorder for MockExpiringHashInterface.
func (*MockExpiringHashInterfaceMockRecorder) Forget ¶ added in v15.3.0
func (mr *MockExpiringHashInterfaceMockRecorder) Forget(arg0, arg1 interface{}) *gomock.Call
Forget indicates an expected call of Forget.
func (*MockExpiringHashInterfaceMockRecorder) GC ¶
func (mr *MockExpiringHashInterfaceMockRecorder) GC() *gomock.Call
GC indicates an expected call of GC.
func (*MockExpiringHashInterfaceMockRecorder) Len ¶ added in v15.2.0
func (mr *MockExpiringHashInterfaceMockRecorder) Len(arg0, arg1 interface{}) *gomock.Call
Len indicates an expected call of Len.
func (*MockExpiringHashInterfaceMockRecorder) Refresh ¶
func (mr *MockExpiringHashInterfaceMockRecorder) Refresh(arg0 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockExpiringHashInterfaceMockRecorder) Scan ¶
func (mr *MockExpiringHashInterfaceMockRecorder) Scan(arg0, arg1, arg2 interface{}) *gomock.Call
Scan indicates an expected call of Scan.
func (*MockExpiringHashInterfaceMockRecorder) Set ¶
func (mr *MockExpiringHashInterfaceMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockExpiringHashInterfaceMockRecorder) Unset ¶
func (mr *MockExpiringHashInterfaceMockRecorder) Unset(arg0, arg1 interface{}) *gomock.Call
Unset indicates an expected call of Unset.