Documentation ¶
Overview ¶
Package mocks 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) Del ¶
func (mr *MockRedisMockRecorder) Del(key interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockRedisMockRecorder) Get ¶
func (mr *MockRedisMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRedisMockRecorder) Set ¶
func (mr *MockRedisMockRecorder) Set(key, value, expiration interface{}) *gomock.Call
Set indicates an expected call of Set
Click to show internal directories.
Click to hide internal directories.