Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBitcouService
- type MockBitcouServiceMockRecorder
- type MockHestiaService
- func (m *MockHestiaService) EXPECT() *MockHestiaServiceMockRecorder
- func (m *MockHestiaService) GetCoinsConfig() ([]hestia.Coin, error)
- func (m *MockHestiaService) GetVoucherInfo(arg0 string) (hestia.Voucher, error)
- func (m *MockHestiaService) GetVouchersByTimestamp(arg0, arg1 string) ([]hestia.Voucher, error)
- func (m *MockHestiaService) GetVouchersStatus() (hestia.Config, error)
- func (m *MockHestiaService) UpdateVoucher(arg0 hestia.Voucher) (string, error)
- type MockHestiaServiceMockRecorder
- func (mr *MockHestiaServiceMockRecorder) GetCoinsConfig() *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) GetVoucherInfo(arg0 interface{}) *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) GetVouchersByTimestamp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) GetVouchersStatus() *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) UpdateVoucher(arg0 interface{}) *gomock.Call
- type MockPlutusService
- func (m *MockPlutusService) EXPECT() *MockPlutusServiceMockRecorder
- func (m *MockPlutusService) GetNewPaymentAddress(arg0 string) (string, error)
- func (m *MockPlutusService) GetWalletBalance(arg0 string) (plutus.Balance, error)
- func (m *MockPlutusService) SubmitPayment(arg0 plutus.SendAddressBodyReq) (string, error)
- func (m *MockPlutusService) ValidateRawTx(arg0 plutus.ValidateRawTxReq) (bool, error)
- type MockPlutusServiceMockRecorder
- func (mr *MockPlutusServiceMockRecorder) GetNewPaymentAddress(arg0 interface{}) *gomock.Call
- func (mr *MockPlutusServiceMockRecorder) GetWalletBalance(arg0 interface{}) *gomock.Call
- func (mr *MockPlutusServiceMockRecorder) SubmitPayment(arg0 interface{}) *gomock.Call
- func (mr *MockPlutusServiceMockRecorder) ValidateRawTx(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBitcouService ¶
type MockBitcouService struct {
// contains filtered or unexported fields
}
MockBitcouService is a mock of BitcouService interface
func NewMockBitcouService ¶
func NewMockBitcouService(ctrl *gomock.Controller) *MockBitcouService
NewMockBitcouService creates a new mock instance
func (*MockBitcouService) EXPECT ¶
func (m *MockBitcouService) EXPECT() *MockBitcouServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBitcouService) GetPhoneTopUpList ¶
func (m *MockBitcouService) GetPhoneTopUpList(arg0 string) ([]int, error)
GetPhoneTopUpList mocks base method
func (*MockBitcouService) GetTransactionInformation ¶
func (m *MockBitcouService) GetTransactionInformation(arg0 models.PurchaseInfo) (models.PurchaseInfoResponse, error)
GetTransactionInformation mocks base method
type MockBitcouServiceMockRecorder ¶
type MockBitcouServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBitcouServiceMockRecorder is the mock recorder for MockBitcouService
func (*MockBitcouServiceMockRecorder) GetPhoneTopUpList ¶
func (mr *MockBitcouServiceMockRecorder) GetPhoneTopUpList(arg0 interface{}) *gomock.Call
GetPhoneTopUpList indicates an expected call of GetPhoneTopUpList
func (*MockBitcouServiceMockRecorder) GetTransactionInformation ¶
func (mr *MockBitcouServiceMockRecorder) GetTransactionInformation(arg0 interface{}) *gomock.Call
GetTransactionInformation indicates an expected call of GetTransactionInformation
type MockHestiaService ¶
type MockHestiaService struct {
// contains filtered or unexported fields
}
MockHestiaService is a mock of HestiaService interface
func NewMockHestiaService ¶
func NewMockHestiaService(ctrl *gomock.Controller) *MockHestiaService
NewMockHestiaService creates a new mock instance
func (*MockHestiaService) EXPECT ¶
func (m *MockHestiaService) EXPECT() *MockHestiaServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHestiaService) GetCoinsConfig ¶
func (m *MockHestiaService) GetCoinsConfig() ([]hestia.Coin, error)
GetCoinsConfig mocks base method
func (*MockHestiaService) GetVoucherInfo ¶
func (m *MockHestiaService) GetVoucherInfo(arg0 string) (hestia.Voucher, error)
GetVoucherInfo mocks base method
func (*MockHestiaService) GetVouchersByTimestamp ¶
func (m *MockHestiaService) GetVouchersByTimestamp(arg0, arg1 string) ([]hestia.Voucher, error)
GetVouchersByTimestamp mocks base method
func (*MockHestiaService) GetVouchersStatus ¶
func (m *MockHestiaService) GetVouchersStatus() (hestia.Config, error)
GetVouchersStatus mocks base method
func (*MockHestiaService) UpdateVoucher ¶
func (m *MockHestiaService) UpdateVoucher(arg0 hestia.Voucher) (string, error)
UpdateVoucher mocks base method
type MockHestiaServiceMockRecorder ¶
type MockHestiaServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockHestiaServiceMockRecorder is the mock recorder for MockHestiaService
func (*MockHestiaServiceMockRecorder) GetCoinsConfig ¶
func (mr *MockHestiaServiceMockRecorder) GetCoinsConfig() *gomock.Call
GetCoinsConfig indicates an expected call of GetCoinsConfig
func (*MockHestiaServiceMockRecorder) GetVoucherInfo ¶
func (mr *MockHestiaServiceMockRecorder) GetVoucherInfo(arg0 interface{}) *gomock.Call
GetVoucherInfo indicates an expected call of GetVoucherInfo
func (*MockHestiaServiceMockRecorder) GetVouchersByTimestamp ¶
func (mr *MockHestiaServiceMockRecorder) GetVouchersByTimestamp(arg0, arg1 interface{}) *gomock.Call
GetVouchersByTimestamp indicates an expected call of GetVouchersByTimestamp
func (*MockHestiaServiceMockRecorder) GetVouchersStatus ¶
func (mr *MockHestiaServiceMockRecorder) GetVouchersStatus() *gomock.Call
GetVouchersStatus indicates an expected call of GetVouchersStatus
func (*MockHestiaServiceMockRecorder) UpdateVoucher ¶
func (mr *MockHestiaServiceMockRecorder) UpdateVoucher(arg0 interface{}) *gomock.Call
UpdateVoucher indicates an expected call of UpdateVoucher
type MockPlutusService ¶
type MockPlutusService struct {
// contains filtered or unexported fields
}
MockPlutusService is a mock of PlutusService interface
func NewMockPlutusService ¶
func NewMockPlutusService(ctrl *gomock.Controller) *MockPlutusService
NewMockPlutusService creates a new mock instance
func (*MockPlutusService) EXPECT ¶
func (m *MockPlutusService) EXPECT() *MockPlutusServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlutusService) GetNewPaymentAddress ¶
func (m *MockPlutusService) GetNewPaymentAddress(arg0 string) (string, error)
GetNewPaymentAddress mocks base method
func (*MockPlutusService) GetWalletBalance ¶
func (m *MockPlutusService) GetWalletBalance(arg0 string) (plutus.Balance, error)
GetWalletBalance mocks base method
func (*MockPlutusService) SubmitPayment ¶
func (m *MockPlutusService) SubmitPayment(arg0 plutus.SendAddressBodyReq) (string, error)
SubmitPayment mocks base method
func (*MockPlutusService) ValidateRawTx ¶
func (m *MockPlutusService) ValidateRawTx(arg0 plutus.ValidateRawTxReq) (bool, error)
ValidateRawTx mocks base method
type MockPlutusServiceMockRecorder ¶
type MockPlutusServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPlutusServiceMockRecorder is the mock recorder for MockPlutusService
func (*MockPlutusServiceMockRecorder) GetNewPaymentAddress ¶
func (mr *MockPlutusServiceMockRecorder) GetNewPaymentAddress(arg0 interface{}) *gomock.Call
GetNewPaymentAddress indicates an expected call of GetNewPaymentAddress
func (*MockPlutusServiceMockRecorder) GetWalletBalance ¶
func (mr *MockPlutusServiceMockRecorder) GetWalletBalance(arg0 interface{}) *gomock.Call
GetWalletBalance indicates an expected call of GetWalletBalance
func (*MockPlutusServiceMockRecorder) SubmitPayment ¶
func (mr *MockPlutusServiceMockRecorder) SubmitPayment(arg0 interface{}) *gomock.Call
SubmitPayment indicates an expected call of SubmitPayment
func (*MockPlutusServiceMockRecorder) ValidateRawTx ¶
func (mr *MockPlutusServiceMockRecorder) ValidateRawTx(arg0 interface{}) *gomock.Call
ValidateRawTx indicates an expected call of ValidateRawTx