Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSet
- func (m *MockSet) Close()
- func (m *MockSet) EXPECT() *MockSetMockRecorder
- func (m *MockSet) SAdd(arg0 context.Context, arg1 string, arg2 ...string) error
- func (m *MockSet) SMembers(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockSet) SPopN(arg0 context.Context, arg1 string, arg2 int64) ([]string, error)
- func (m *MockSet) SRem(arg0 context.Context, arg1 string, arg2 ...string) error
- type MockSetMockRecorder
- func (mr *MockSetMockRecorder) Close() *gomock.Call
- func (mr *MockSetMockRecorder) SAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) SMembers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) SPopN(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSetMockRecorder) SRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockSortedSet
- func (m *MockSortedSet) Close()
- func (m *MockSortedSet) EXPECT() *MockSortedSetMockRecorder
- func (m *MockSortedSet) ZAdd(arg0 context.Context, arg1 string, arg2 ...*kv.Z) error
- func (m *MockSortedSet) ZRangeByScore(arg0 context.Context, arg1 string, arg2 *kv.ZRangeBy) ([]string, error)
- func (m *MockSortedSet) ZRem(arg0 context.Context, arg1 string, arg2 ...interface{}) error
- type MockSortedSetMockRecorder
- func (mr *MockSortedSetMockRecorder) Close() *gomock.Call
- func (mr *MockSortedSetMockRecorder) ZAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSortedSetMockRecorder) ZRangeByScore(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSortedSetMockRecorder) ZRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) Close()
- func (m *MockStore) Del(arg0 context.Context, arg1 string, arg2 ...string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1, arg2 string) ([]byte, error)
- func (m *MockStore) Keys(arg0 context.Context, arg1 string) ([]string, error)
- func (m *MockStore) MGet(arg0 context.Context, arg1 string, arg2 []string) (map[string][]byte, error)
- func (m *MockStore) MSet(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error
- func (m *MockStore) MSetNX(arg0 context.Context, arg1 string, arg2 map[string]interface{}) (bool, error)
- func (m *MockStore) Set(arg0 context.Context, arg1, arg2 string, arg3 interface{}, arg4 time.Duration) error
- func (m *MockStore) SetNX(arg0 context.Context, arg1, arg2 string, arg3 interface{}, arg4 time.Duration) (bool, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Del(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Keys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) MGet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) MSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) MSetNX(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetNX(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSet ¶
type MockSet struct {
// contains filtered or unexported fields
}
MockSet is a mock of Set interface.
func NewMockSet ¶
func NewMockSet(ctrl *gomock.Controller) *MockSet
NewMockSet creates a new mock instance.
func (*MockSet) EXPECT ¶
func (m *MockSet) EXPECT() *MockSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSetMockRecorder ¶
type MockSetMockRecorder struct {
// contains filtered or unexported fields
}
MockSetMockRecorder is the mock recorder for MockSet.
func (*MockSetMockRecorder) Close ¶
func (mr *MockSetMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSetMockRecorder) SAdd ¶
func (mr *MockSetMockRecorder) SAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SAdd indicates an expected call of SAdd.
func (*MockSetMockRecorder) SMembers ¶
func (mr *MockSetMockRecorder) SMembers(arg0, arg1 interface{}) *gomock.Call
SMembers indicates an expected call of SMembers.
func (*MockSetMockRecorder) SPopN ¶
func (mr *MockSetMockRecorder) SPopN(arg0, arg1, arg2 interface{}) *gomock.Call
SPopN indicates an expected call of SPopN.
func (*MockSetMockRecorder) SRem ¶
func (mr *MockSetMockRecorder) SRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
SRem indicates an expected call of SRem.
type MockSortedSet ¶
type MockSortedSet struct {
// contains filtered or unexported fields
}
MockSortedSet is a mock of SortedSet interface.
func NewMockSortedSet ¶
func NewMockSortedSet(ctrl *gomock.Controller) *MockSortedSet
NewMockSortedSet creates a new mock instance.
func (*MockSortedSet) EXPECT ¶
func (m *MockSortedSet) EXPECT() *MockSortedSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSortedSet) ZRangeByScore ¶
func (m *MockSortedSet) ZRangeByScore(arg0 context.Context, arg1 string, arg2 *kv.ZRangeBy) ([]string, error)
ZRangeByScore mocks base method.
type MockSortedSetMockRecorder ¶
type MockSortedSetMockRecorder struct {
// contains filtered or unexported fields
}
MockSortedSetMockRecorder is the mock recorder for MockSortedSet.
func (*MockSortedSetMockRecorder) Close ¶
func (mr *MockSortedSetMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSortedSetMockRecorder) ZAdd ¶
func (mr *MockSortedSetMockRecorder) ZAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ZAdd indicates an expected call of ZAdd.
func (*MockSortedSetMockRecorder) ZRangeByScore ¶
func (mr *MockSortedSetMockRecorder) ZRangeByScore(arg0, arg1, arg2 interface{}) *gomock.Call
ZRangeByScore indicates an expected call of ZRangeByScore.
func (*MockSortedSetMockRecorder) ZRem ¶
func (mr *MockSortedSetMockRecorder) ZRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ZRem indicates an expected call of ZRem.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) MGet ¶
func (m *MockStore) MGet(arg0 context.Context, arg1 string, arg2 []string) (map[string][]byte, error)
MGet mocks base method.
func (*MockStore) MSetNX ¶
func (m *MockStore) MSetNX(arg0 context.Context, arg1 string, arg2 map[string]interface{}) (bool, error)
MSetNX mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Close ¶
func (mr *MockStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStoreMockRecorder) Del ¶
func (mr *MockStoreMockRecorder) Del(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Del indicates an expected call of Del.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) Keys ¶
func (mr *MockStoreMockRecorder) Keys(arg0, arg1 interface{}) *gomock.Call
Keys indicates an expected call of Keys.
func (*MockStoreMockRecorder) MGet ¶
func (mr *MockStoreMockRecorder) MGet(arg0, arg1, arg2 interface{}) *gomock.Call
MGet indicates an expected call of MGet.
func (*MockStoreMockRecorder) MSet ¶
func (mr *MockStoreMockRecorder) MSet(arg0, arg1, arg2 interface{}) *gomock.Call
MSet indicates an expected call of MSet.
func (*MockStoreMockRecorder) MSetNX ¶
func (mr *MockStoreMockRecorder) MSetNX(arg0, arg1, arg2 interface{}) *gomock.Call
MSetNX indicates an expected call of MSetNX.
func (*MockStoreMockRecorder) Set ¶
func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockStoreMockRecorder) SetNX ¶
func (mr *MockStoreMockRecorder) SetNX(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
SetNX indicates an expected call of SetNX.