Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBigcacheClientInterface
- func (m *MockBigcacheClientInterface) Delete(key string) error
- func (m *MockBigcacheClientInterface) EXPECT() *MockBigcacheClientInterfaceMockRecorder
- func (m *MockBigcacheClientInterface) Get(key string) ([]byte, error)
- func (m *MockBigcacheClientInterface) Reset() error
- func (m *MockBigcacheClientInterface) Set(key string, entry []byte) error
- type MockBigcacheClientInterfaceMockRecorder
- func (mr *MockBigcacheClientInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockBigcacheClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockBigcacheClientInterfaceMockRecorder) Reset() *gomock.Call
- func (mr *MockBigcacheClientInterfaceMockRecorder) Set(key, entry interface{}) *gomock.Call
- type MockMemcacheClientInterface
- func (m *MockMemcacheClientInterface) Delete(item string) error
- func (m *MockMemcacheClientInterface) EXPECT() *MockMemcacheClientInterfaceMockRecorder
- func (m *MockMemcacheClientInterface) FlushAll() error
- func (m *MockMemcacheClientInterface) Get(key string) (*memcache.Item, error)
- func (m *MockMemcacheClientInterface) Set(item *memcache.Item) error
- type MockMemcacheClientInterfaceMockRecorder
- func (mr *MockMemcacheClientInterfaceMockRecorder) Delete(item interface{}) *gomock.Call
- func (mr *MockMemcacheClientInterfaceMockRecorder) FlushAll() *gomock.Call
- func (mr *MockMemcacheClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockMemcacheClientInterfaceMockRecorder) Set(item interface{}) *gomock.Call
- type MockRedisClientInterface
- func (m *MockRedisClientInterface) Del(keys ...string) *v7.IntCmd
- func (m *MockRedisClientInterface) EXPECT() *MockRedisClientInterfaceMockRecorder
- func (m *MockRedisClientInterface) FlushAll() *v7.StatusCmd
- func (m *MockRedisClientInterface) Get(key string) *v7.StringCmd
- func (m *MockRedisClientInterface) Set(key string, value interface{}, expiration time.Duration) *v7.StatusCmd
- type MockRedisClientInterfaceMockRecorder
- func (mr *MockRedisClientInterfaceMockRecorder) Del(keys ...interface{}) *gomock.Call
- func (mr *MockRedisClientInterfaceMockRecorder) FlushAll() *gomock.Call
- func (mr *MockRedisClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockRedisClientInterfaceMockRecorder) Set(key, value, expiration interface{}) *gomock.Call
- type MockRistrettoClientInterface
- func (m *MockRistrettoClientInterface) Clear()
- func (m *MockRistrettoClientInterface) Del(key interface{})
- func (m *MockRistrettoClientInterface) EXPECT() *MockRistrettoClientInterfaceMockRecorder
- func (m *MockRistrettoClientInterface) Get(key interface{}) (interface{}, bool)
- func (m *MockRistrettoClientInterface) SetWithTTL(key, value interface{}, cost int64, ttl time.Duration) bool
- type MockRistrettoClientInterfaceMockRecorder
- func (mr *MockRistrettoClientInterfaceMockRecorder) Clear() *gomock.Call
- func (mr *MockRistrettoClientInterfaceMockRecorder) Del(key interface{}) *gomock.Call
- func (mr *MockRistrettoClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockRistrettoClientInterfaceMockRecorder) SetWithTTL(key, value, cost, ttl interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBigcacheClientInterface ¶
type MockBigcacheClientInterface struct {
// contains filtered or unexported fields
}
MockBigcacheClientInterface is a mock of BigcacheClientInterface interface
func NewMockBigcacheClientInterface ¶
func NewMockBigcacheClientInterface(ctrl *gomock.Controller) *MockBigcacheClientInterface
NewMockBigcacheClientInterface creates a new mock instance
func (*MockBigcacheClientInterface) Delete ¶
func (m *MockBigcacheClientInterface) Delete(key string) error
Delete mocks base method
func (*MockBigcacheClientInterface) EXPECT ¶
func (m *MockBigcacheClientInterface) EXPECT() *MockBigcacheClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBigcacheClientInterface) Get ¶
func (m *MockBigcacheClientInterface) Get(key string) ([]byte, error)
Get mocks base method
func (*MockBigcacheClientInterface) Reset ¶
func (m *MockBigcacheClientInterface) Reset() error
Reset mocks base method
type MockBigcacheClientInterfaceMockRecorder ¶
type MockBigcacheClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockBigcacheClientInterfaceMockRecorder is the mock recorder for MockBigcacheClientInterface
func (*MockBigcacheClientInterfaceMockRecorder) Delete ¶
func (mr *MockBigcacheClientInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockBigcacheClientInterfaceMockRecorder) Get ¶
func (mr *MockBigcacheClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockBigcacheClientInterfaceMockRecorder) Reset ¶
func (mr *MockBigcacheClientInterfaceMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset
func (*MockBigcacheClientInterfaceMockRecorder) Set ¶
func (mr *MockBigcacheClientInterfaceMockRecorder) Set(key, entry interface{}) *gomock.Call
Set indicates an expected call of Set
type MockMemcacheClientInterface ¶
type MockMemcacheClientInterface struct {
// contains filtered or unexported fields
}
MockMemcacheClientInterface is a mock of MemcacheClientInterface interface
func NewMockMemcacheClientInterface ¶
func NewMockMemcacheClientInterface(ctrl *gomock.Controller) *MockMemcacheClientInterface
NewMockMemcacheClientInterface creates a new mock instance
func (*MockMemcacheClientInterface) Delete ¶
func (m *MockMemcacheClientInterface) Delete(item string) error
Delete mocks base method
func (*MockMemcacheClientInterface) EXPECT ¶
func (m *MockMemcacheClientInterface) EXPECT() *MockMemcacheClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMemcacheClientInterface) FlushAll ¶
func (m *MockMemcacheClientInterface) FlushAll() error
FlushAll mocks base method
type MockMemcacheClientInterfaceMockRecorder ¶
type MockMemcacheClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMemcacheClientInterfaceMockRecorder is the mock recorder for MockMemcacheClientInterface
func (*MockMemcacheClientInterfaceMockRecorder) Delete ¶
func (mr *MockMemcacheClientInterfaceMockRecorder) Delete(item interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockMemcacheClientInterfaceMockRecorder) FlushAll ¶
func (mr *MockMemcacheClientInterfaceMockRecorder) FlushAll() *gomock.Call
FlushAll indicates an expected call of FlushAll
func (*MockMemcacheClientInterfaceMockRecorder) Get ¶
func (mr *MockMemcacheClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockMemcacheClientInterfaceMockRecorder) Set ¶
func (mr *MockMemcacheClientInterfaceMockRecorder) Set(item interface{}) *gomock.Call
Set indicates an expected call of Set
type MockRedisClientInterface ¶
type MockRedisClientInterface struct {
// contains filtered or unexported fields
}
MockRedisClientInterface is a mock of RedisClientInterface interface
func NewMockRedisClientInterface ¶
func NewMockRedisClientInterface(ctrl *gomock.Controller) *MockRedisClientInterface
NewMockRedisClientInterface creates a new mock instance
func (*MockRedisClientInterface) Del ¶
func (m *MockRedisClientInterface) Del(keys ...string) *v7.IntCmd
Del mocks base method
func (*MockRedisClientInterface) EXPECT ¶
func (m *MockRedisClientInterface) EXPECT() *MockRedisClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRedisClientInterface) FlushAll ¶
func (m *MockRedisClientInterface) FlushAll() *v7.StatusCmd
FlushAll mocks base method
type MockRedisClientInterfaceMockRecorder ¶
type MockRedisClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisClientInterfaceMockRecorder is the mock recorder for MockRedisClientInterface
func (*MockRedisClientInterfaceMockRecorder) Del ¶
func (mr *MockRedisClientInterfaceMockRecorder) Del(keys ...interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockRedisClientInterfaceMockRecorder) FlushAll ¶
func (mr *MockRedisClientInterfaceMockRecorder) FlushAll() *gomock.Call
FlushAll indicates an expected call of FlushAll
func (*MockRedisClientInterfaceMockRecorder) Get ¶
func (mr *MockRedisClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRedisClientInterfaceMockRecorder) Set ¶
func (mr *MockRedisClientInterfaceMockRecorder) Set(key, value, expiration interface{}) *gomock.Call
Set indicates an expected call of Set
type MockRistrettoClientInterface ¶
type MockRistrettoClientInterface struct {
// contains filtered or unexported fields
}
MockRistrettoClientInterface is a mock of RistrettoClientInterface interface
func NewMockRistrettoClientInterface ¶
func NewMockRistrettoClientInterface(ctrl *gomock.Controller) *MockRistrettoClientInterface
NewMockRistrettoClientInterface creates a new mock instance
func (*MockRistrettoClientInterface) Clear ¶
func (m *MockRistrettoClientInterface) Clear()
Clear mocks base method
func (*MockRistrettoClientInterface) Del ¶
func (m *MockRistrettoClientInterface) Del(key interface{})
Del mocks base method
func (*MockRistrettoClientInterface) EXPECT ¶
func (m *MockRistrettoClientInterface) EXPECT() *MockRistrettoClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRistrettoClientInterface) Get ¶
func (m *MockRistrettoClientInterface) Get(key interface{}) (interface{}, bool)
Get mocks base method
func (*MockRistrettoClientInterface) SetWithTTL ¶
func (m *MockRistrettoClientInterface) SetWithTTL(key, value interface{}, cost int64, ttl time.Duration) bool
SetWithTTL mocks base method
type MockRistrettoClientInterfaceMockRecorder ¶
type MockRistrettoClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRistrettoClientInterfaceMockRecorder is the mock recorder for MockRistrettoClientInterface
func (*MockRistrettoClientInterfaceMockRecorder) Clear ¶
func (mr *MockRistrettoClientInterfaceMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear
func (*MockRistrettoClientInterfaceMockRecorder) Del ¶
func (mr *MockRistrettoClientInterfaceMockRecorder) Del(key interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockRistrettoClientInterfaceMockRecorder) Get ¶
func (mr *MockRistrettoClientInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRistrettoClientInterfaceMockRecorder) SetWithTTL ¶
func (mr *MockRistrettoClientInterfaceMockRecorder) SetWithTTL(key, value, cost, ttl interface{}) *gomock.Call
SetWithTTL indicates an expected call of SetWithTTL