Documentation ¶
Overview ¶
Package redistest is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRedis ¶
type MockRedis struct {
// contains filtered or unexported fields
}
MockRedis is a mock of Redis interface.
func NewMockRedis ¶
func NewMockRedis(ctrl *gomock.Controller) *MockRedis
NewMockRedis creates a new mock instance.
func (*MockRedis) EXPECT ¶
func (m *MockRedis) EXPECT() *MockRedisMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRedisMockRecorder ¶
type MockRedisMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisMockRecorder is the mock recorder for MockRedis.
func (*MockRedisMockRecorder) Close ¶
func (mr *MockRedisMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRedisMockRecorder) Get ¶
func (mr *MockRedisMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
Click to show internal directories.
Click to hide internal directories.