Documentation ¶
Overview ¶
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Package mock_mgcache is a generated GoMock package.
Index ¶
- type MockBigcacheInterface
- type MockBigcacheInterfaceMockRecorder
- type MockICodec
- type MockICodecMockRecorder
- type MockIDistributedRefresher
- type MockIDistributedRefresherMockRecorder
- type MockIFallbackStorage
- type MockIFallbackStorageMockRecorder
- type MockIStorage
- func (m *MockIStorage) EXPECT() *MockIStorageMockRecorder
- func (m *MockIStorage) Get(key string, value interface{}) error
- func (m *MockIStorage) GetBytes(key string) ([]byte, error)
- func (m *MockIStorage) Invalidate(key string) error
- func (m *MockIStorage) Refresh(key string) ([]byte, error)
- func (m *MockIStorage) Set(key string, value interface{}) error
- type MockIStorageMockRecorder
- func (mr *MockIStorageMockRecorder) Get(key, value interface{}) *gomock.Call
- func (mr *MockIStorageMockRecorder) GetBytes(key interface{}) *gomock.Call
- func (mr *MockIStorageMockRecorder) Invalidate(key interface{}) *gomock.Call
- func (mr *MockIStorageMockRecorder) Refresh(key interface{}) *gomock.Call
- func (mr *MockIStorageMockRecorder) Set(key, value interface{}) *gomock.Call
- type MockPubSubClientInterface
- func (m *MockPubSubClientInterface) EXPECT() *MockPubSubClientInterfaceMockRecorder
- func (m *MockPubSubClientInterface) Publish(ctx context.Context, channel string, message interface{}) *redis.IntCmd
- func (m *MockPubSubClientInterface) Subscribe(ctx context.Context, channels ...string) *redis.PubSub
- type MockPubSubClientInterfaceMockRecorder
- type MockRedisClientInterface
- func (m *MockRedisClientInterface) Del(ctx context.Context, keys ...string) *redis.IntCmd
- func (m *MockRedisClientInterface) EXPECT() *MockRedisClientInterfaceMockRecorder
- func (m *MockRedisClientInterface) Get(ctx context.Context, key string) *redis.StringCmd
- func (m *MockRedisClientInterface) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd
- type MockRedisClientInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBigcacheInterface ¶
type MockBigcacheInterface struct {
// contains filtered or unexported fields
}
MockBigcacheInterface is a mock of BigcacheInterface interface.
func NewMockBigcacheInterface ¶
func NewMockBigcacheInterface(ctrl *gomock.Controller) *MockBigcacheInterface
NewMockBigcacheInterface creates a new mock instance.
func (*MockBigcacheInterface) Delete ¶
func (m *MockBigcacheInterface) Delete(key string) error
Delete mocks base method.
func (*MockBigcacheInterface) EXPECT ¶
func (m *MockBigcacheInterface) EXPECT() *MockBigcacheInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBigcacheInterfaceMockRecorder ¶
type MockBigcacheInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockBigcacheInterfaceMockRecorder is the mock recorder for MockBigcacheInterface.
func (*MockBigcacheInterfaceMockRecorder) Delete ¶
func (mr *MockBigcacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBigcacheInterfaceMockRecorder) Get ¶
func (mr *MockBigcacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockBigcacheInterfaceMockRecorder) Set ¶
func (mr *MockBigcacheInterfaceMockRecorder) Set(key, entry interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockICodec ¶
type MockICodec struct {
// contains filtered or unexported fields
}
MockICodec is a mock of ICodec interface.
func NewMockICodec ¶
func NewMockICodec(ctrl *gomock.Controller) *MockICodec
NewMockICodec creates a new mock instance.
func (*MockICodec) Decode ¶
func (m *MockICodec) Decode(bytes []byte, valuePtr interface{}) error
Decode mocks base method.
func (*MockICodec) EXPECT ¶
func (m *MockICodec) EXPECT() *MockICodecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICodec) Encode ¶
func (m *MockICodec) Encode(arg0 interface{}) ([]byte, error)
Encode mocks base method.
type MockICodecMockRecorder ¶
type MockICodecMockRecorder struct {
// contains filtered or unexported fields
}
MockICodecMockRecorder is the mock recorder for MockICodec.
func (*MockICodecMockRecorder) Decode ¶
func (mr *MockICodecMockRecorder) Decode(bytes, valuePtr interface{}) *gomock.Call
Decode indicates an expected call of Decode.
func (*MockICodecMockRecorder) Encode ¶
func (mr *MockICodecMockRecorder) Encode(arg0 interface{}) *gomock.Call
Encode indicates an expected call of Encode.
type MockIDistributedRefresher ¶
type MockIDistributedRefresher struct {
// contains filtered or unexported fields
}
MockIDistributedRefresher is a mock of IDistributedRefresher interface.
func NewMockIDistributedRefresher ¶
func NewMockIDistributedRefresher(ctrl *gomock.Controller) *MockIDistributedRefresher
NewMockIDistributedRefresher creates a new mock instance.
func (*MockIDistributedRefresher) EXPECT ¶
func (m *MockIDistributedRefresher) EXPECT() *MockIDistributedRefresherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDistributedRefresher) Notify ¶
func (m *MockIDistributedRefresher) Notify(key string) error
Notify mocks base method.
type MockIDistributedRefresherMockRecorder ¶
type MockIDistributedRefresherMockRecorder struct {
// contains filtered or unexported fields
}
MockIDistributedRefresherMockRecorder is the mock recorder for MockIDistributedRefresher.
func (*MockIDistributedRefresherMockRecorder) Notify ¶
func (mr *MockIDistributedRefresherMockRecorder) Notify(key interface{}) *gomock.Call
Notify indicates an expected call of Notify.
type MockIFallbackStorage ¶
type MockIFallbackStorage struct {
// contains filtered or unexported fields
}
MockIFallbackStorage is a mock of IFallbackStorage interface.
func NewMockIFallbackStorage ¶
func NewMockIFallbackStorage(ctrl *gomock.Controller) *MockIFallbackStorage
NewMockIFallbackStorage creates a new mock instance.
func (*MockIFallbackStorage) EXPECT ¶
func (m *MockIFallbackStorage) EXPECT() *MockIFallbackStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIFallbackStorage) GetBytes ¶
func (m *MockIFallbackStorage) GetBytes(key string) ([]byte, error)
GetBytes mocks base method.
func (*MockIFallbackStorage) Invalidate ¶
func (m *MockIFallbackStorage) Invalidate(key string) error
Invalidate mocks base method.
type MockIFallbackStorageMockRecorder ¶
type MockIFallbackStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockIFallbackStorageMockRecorder is the mock recorder for MockIFallbackStorage.
func (*MockIFallbackStorageMockRecorder) GetBytes ¶
func (mr *MockIFallbackStorageMockRecorder) GetBytes(key interface{}) *gomock.Call
GetBytes indicates an expected call of GetBytes.
func (*MockIFallbackStorageMockRecorder) Invalidate ¶
func (mr *MockIFallbackStorageMockRecorder) Invalidate(key interface{}) *gomock.Call
Invalidate indicates an expected call of Invalidate.
type MockIStorage ¶
type MockIStorage struct {
// contains filtered or unexported fields
}
MockIStorage is a mock of IStorage interface.
func NewMockIStorage ¶
func NewMockIStorage(ctrl *gomock.Controller) *MockIStorage
NewMockIStorage creates a new mock instance.
func (*MockIStorage) EXPECT ¶
func (m *MockIStorage) EXPECT() *MockIStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIStorage) Get ¶
func (m *MockIStorage) Get(key string, value interface{}) error
Get mocks base method.
func (*MockIStorage) GetBytes ¶
func (m *MockIStorage) GetBytes(key string) ([]byte, error)
GetBytes mocks base method.
func (*MockIStorage) Invalidate ¶
func (m *MockIStorage) Invalidate(key string) error
Invalidate mocks base method.
func (*MockIStorage) Refresh ¶
func (m *MockIStorage) Refresh(key string) ([]byte, error)
Refresh mocks base method.
func (*MockIStorage) Set ¶
func (m *MockIStorage) Set(key string, value interface{}) error
Set mocks base method.
type MockIStorageMockRecorder ¶
type MockIStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockIStorageMockRecorder is the mock recorder for MockIStorage.
func (*MockIStorageMockRecorder) Get ¶
func (mr *MockIStorageMockRecorder) Get(key, value interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIStorageMockRecorder) GetBytes ¶
func (mr *MockIStorageMockRecorder) GetBytes(key interface{}) *gomock.Call
GetBytes indicates an expected call of GetBytes.
func (*MockIStorageMockRecorder) Invalidate ¶
func (mr *MockIStorageMockRecorder) Invalidate(key interface{}) *gomock.Call
Invalidate indicates an expected call of Invalidate.
func (*MockIStorageMockRecorder) Refresh ¶
func (mr *MockIStorageMockRecorder) Refresh(key interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockIStorageMockRecorder) Set ¶
func (mr *MockIStorageMockRecorder) Set(key, value interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockPubSubClientInterface ¶
type MockPubSubClientInterface struct {
// contains filtered or unexported fields
}
MockPubSubClientInterface is a mock of PubSubClientInterface interface.
func NewMockPubSubClientInterface ¶
func NewMockPubSubClientInterface(ctrl *gomock.Controller) *MockPubSubClientInterface
NewMockPubSubClientInterface creates a new mock instance.
func (*MockPubSubClientInterface) EXPECT ¶
func (m *MockPubSubClientInterface) EXPECT() *MockPubSubClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPubSubClientInterfaceMockRecorder ¶
type MockPubSubClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPubSubClientInterfaceMockRecorder is the mock recorder for MockPubSubClientInterface.
func (*MockPubSubClientInterfaceMockRecorder) Publish ¶
func (mr *MockPubSubClientInterfaceMockRecorder) Publish(ctx, channel, message interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockPubSubClientInterfaceMockRecorder) Subscribe ¶
func (mr *MockPubSubClientInterfaceMockRecorder) Subscribe(ctx interface{}, channels ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
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) EXPECT ¶
func (m *MockRedisClientInterface) EXPECT() *MockRedisClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRedisClientInterfaceMockRecorder ¶
type MockRedisClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisClientInterfaceMockRecorder is the mock recorder for MockRedisClientInterface.
func (*MockRedisClientInterfaceMockRecorder) Del ¶
func (mr *MockRedisClientInterfaceMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call
Del indicates an expected call of Del.
func (*MockRedisClientInterfaceMockRecorder) Get ¶
func (mr *MockRedisClientInterfaceMockRecorder) Get(ctx, key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRedisClientInterfaceMockRecorder) Set ¶
func (mr *MockRedisClientInterfaceMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call
Set indicates an expected call of Set.