Documentation ¶
Overview ¶
Package mock_redis is a generated GoMock package.
Index ¶
- type MockExpiringHashInterface
- func (m *MockExpiringHashInterface) EXPECT() *MockExpiringHashInterfaceMockRecorder
- func (m *MockExpiringHashInterface) GC(arg0 context.Context) (int, error)
- func (m *MockExpiringHashInterface) Refresh(arg0 context.Context) error
- func (m *MockExpiringHashInterface) Scan(arg0 context.Context, arg1 interface{}, arg2 redistool.ScanCallback) (int, error)
- func (m *MockExpiringHashInterface) Set(arg0 context.Context, arg1 interface{}, arg2 int64, arg3 *anypb.Any) error
- func (m *MockExpiringHashInterface) Unset(arg0 context.Context, arg1 interface{}, arg2 int64) error
- type MockExpiringHashInterfaceMockRecorder
- func (mr *MockExpiringHashInterfaceMockRecorder) GC(arg0 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, arg3 interface{}) *gomock.Call
- func (mr *MockExpiringHashInterfaceMockRecorder) Unset(arg0, arg1, arg2 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) GC ¶
func (m *MockExpiringHashInterface) GC(arg0 context.Context) (int, error)
GC mocks base method.
func (*MockExpiringHashInterface) Refresh ¶
func (m *MockExpiringHashInterface) Refresh(arg0 context.Context) error
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) GC ¶
func (mr *MockExpiringHashInterfaceMockRecorder) GC(arg0 interface{}) *gomock.Call
GC indicates an expected call of GC.
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, arg3 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockExpiringHashInterfaceMockRecorder) Unset ¶
func (mr *MockExpiringHashInterfaceMockRecorder) Unset(arg0, arg1, arg2 interface{}) *gomock.Call
Unset indicates an expected call of Unset.
Click to show internal directories.
Click to hide internal directories.