Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockPaymentAPI
- type MockPaymentAPIMockRecorder
- type MockRedisStore
- func (m *MockRedisStore) BLMOVE(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockRedisStore) BRPop(arg0 context.Context, arg1 string) (string, error)
- func (m *MockRedisStore) CloseClient() error
- func (m *MockRedisStore) Delete(arg0 context.Context, arg1 string) error
- func (m *MockRedisStore) EXPECT() *MockRedisStoreMockRecorder
- func (m *MockRedisStore) Exists(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockRedisStore) Get(arg0 context.Context, arg1 string) (string, error)
- func (m *MockRedisStore) LIndex(arg0 context.Context, arg1 string, arg2 int64) error
- func (m *MockRedisStore) LPush(arg0 context.Context, arg1 string, arg2 any) error
- func (m *MockRedisStore) LREM(arg0 context.Context, arg1 string, arg2 int64, arg3 any) error
- func (m *MockRedisStore) LRange(arg0 context.Context, arg1 string, arg2, arg3 int64) ([]string, error)
- func (m *MockRedisStore) Publish(arg0 context.Context, arg1 string, arg2 any) error
- func (m *MockRedisStore) RPush(arg0 context.Context, arg1 string, arg2 any) error
- func (m *MockRedisStore) Set(arg0 context.Context, arg1 string, arg2 any, arg3 time.Duration) error
- func (m *MockRedisStore) Subscribe(arg0 context.Context, arg1 string) (<-chan *redis.Message, error)
- func (m *MockRedisStore) SubscribeLog(arg0 context.Context) (<-chan *redis.Message, error)
- type MockRedisStoreMockRecorder
- func (mr *MockRedisStoreMockRecorder) BLMOVE(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) BRPop(arg0, arg1 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) CloseClient() *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Delete(arg0, arg1 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Exists(arg0, arg1 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) LIndex(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) LPush(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) LREM(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) LRange(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) RPush(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Set(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call
- func (mr *MockRedisStoreMockRecorder) SubscribeLog(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPaymentAPI ¶
type MockPaymentAPI struct {
// contains filtered or unexported fields
}
MockPaymentAPI is a mock of PaymentAPI interface.
func NewMockPaymentAPI ¶
func NewMockPaymentAPI(ctrl *gomock.Controller) *MockPaymentAPI
NewMockPaymentAPI creates a new mock instance.
func (*MockPaymentAPI) CreatePayment ¶
func (m *MockPaymentAPI) CreatePayment(arg0 api.CreatePaymentRequest) (api.CreatePaymentResponse, error)
CreatePayment mocks base method.
func (*MockPaymentAPI) EXPECT ¶
func (m *MockPaymentAPI) EXPECT() *MockPaymentAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPaymentAPI) GetPayment ¶
func (m *MockPaymentAPI) GetPayment(arg0 api.GetPaymentRequest) (api.GetPaymentResponse, error)
GetPayment mocks base method.
type MockPaymentAPIMockRecorder ¶
type MockPaymentAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPaymentAPIMockRecorder is the mock recorder for MockPaymentAPI.
func (*MockPaymentAPIMockRecorder) CreatePayment ¶
func (mr *MockPaymentAPIMockRecorder) CreatePayment(arg0 any) *gomock.Call
CreatePayment indicates an expected call of CreatePayment.
func (*MockPaymentAPIMockRecorder) GetPayment ¶
func (mr *MockPaymentAPIMockRecorder) GetPayment(arg0 any) *gomock.Call
GetPayment indicates an expected call of GetPayment.
type MockRedisStore ¶
type MockRedisStore struct {
// contains filtered or unexported fields
}
MockRedisStore is a mock of RedisStore interface.
func NewMockRedisStore ¶
func NewMockRedisStore(ctrl *gomock.Controller) *MockRedisStore
NewMockRedisStore creates a new mock instance.
func (*MockRedisStore) CloseClient ¶ added in v1.1.2
func (m *MockRedisStore) CloseClient() error
CloseClient mocks base method.
func (*MockRedisStore) Delete ¶
func (m *MockRedisStore) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockRedisStore) EXPECT ¶
func (m *MockRedisStore) EXPECT() *MockRedisStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRedisStore) LRange ¶
func (m *MockRedisStore) LRange(arg0 context.Context, arg1 string, arg2, arg3 int64) ([]string, error)
LRange mocks base method.
func (*MockRedisStore) Subscribe ¶
func (m *MockRedisStore) Subscribe(arg0 context.Context, arg1 string) (<-chan *redis.Message, error)
Subscribe mocks base method.
func (*MockRedisStore) SubscribeLog ¶
SubscribeLog mocks base method.
type MockRedisStoreMockRecorder ¶
type MockRedisStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisStoreMockRecorder is the mock recorder for MockRedisStore.
func (*MockRedisStoreMockRecorder) BLMOVE ¶
func (mr *MockRedisStoreMockRecorder) BLMOVE(arg0, arg1, arg2 any) *gomock.Call
BLMOVE indicates an expected call of BLMOVE.
func (*MockRedisStoreMockRecorder) BRPop ¶
func (mr *MockRedisStoreMockRecorder) BRPop(arg0, arg1 any) *gomock.Call
BRPop indicates an expected call of BRPop.
func (*MockRedisStoreMockRecorder) CloseClient ¶ added in v1.1.2
func (mr *MockRedisStoreMockRecorder) CloseClient() *gomock.Call
CloseClient indicates an expected call of CloseClient.
func (*MockRedisStoreMockRecorder) Delete ¶
func (mr *MockRedisStoreMockRecorder) Delete(arg0, arg1 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRedisStoreMockRecorder) Exists ¶
func (mr *MockRedisStoreMockRecorder) Exists(arg0, arg1 any) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockRedisStoreMockRecorder) Get ¶
func (mr *MockRedisStoreMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockRedisStoreMockRecorder) LIndex ¶
func (mr *MockRedisStoreMockRecorder) LIndex(arg0, arg1, arg2 any) *gomock.Call
LIndex indicates an expected call of LIndex.
func (*MockRedisStoreMockRecorder) LPush ¶
func (mr *MockRedisStoreMockRecorder) LPush(arg0, arg1, arg2 any) *gomock.Call
LPush indicates an expected call of LPush.
func (*MockRedisStoreMockRecorder) LREM ¶
func (mr *MockRedisStoreMockRecorder) LREM(arg0, arg1, arg2, arg3 any) *gomock.Call
LREM indicates an expected call of LREM.
func (*MockRedisStoreMockRecorder) LRange ¶
func (mr *MockRedisStoreMockRecorder) LRange(arg0, arg1, arg2, arg3 any) *gomock.Call
LRange indicates an expected call of LRange.
func (*MockRedisStoreMockRecorder) Publish ¶
func (mr *MockRedisStoreMockRecorder) Publish(arg0, arg1, arg2 any) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockRedisStoreMockRecorder) RPush ¶
func (mr *MockRedisStoreMockRecorder) RPush(arg0, arg1, arg2 any) *gomock.Call
RPush indicates an expected call of RPush.
func (*MockRedisStoreMockRecorder) Set ¶
func (mr *MockRedisStoreMockRecorder) Set(arg0, arg1, arg2, arg3 any) *gomock.Call
Set indicates an expected call of Set.
func (*MockRedisStoreMockRecorder) Subscribe ¶
func (mr *MockRedisStoreMockRecorder) Subscribe(arg0, arg1 any) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockRedisStoreMockRecorder) SubscribeLog ¶
func (mr *MockRedisStoreMockRecorder) SubscribeLog(arg0 any) *gomock.Call
SubscribeLog indicates an expected call of SubscribeLog.