Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAdrestiaService
- func (m *MockAdrestiaService) DepositInfo(arg0 models.DepositParams) (models.DepositInfo, error)
- func (m *MockAdrestiaService) EXPECT() *MockAdrestiaServiceMockRecorder
- func (m *MockAdrestiaService) GetAddress(arg0 string) (models.AddressResponse, error)
- func (m *MockAdrestiaService) GetPath(arg0, arg1 string) (models.PathResponse, error)
- func (m *MockAdrestiaService) GetTradeStatus(arg0 hestia.Trade) (hestia.ExchangeOrderInfo, error)
- func (m *MockAdrestiaService) GetWithdrawalTxHash(arg0 models.WithdrawInfo) (string, error)
- func (m *MockAdrestiaService) StockBalance(arg0 string) (models.BalanceResponse, error)
- func (m *MockAdrestiaService) Trade(arg0 hestia.Trade) (string, error)
- func (m *MockAdrestiaService) Withdraw(arg0 models.WithdrawParams) (models.WithdrawInfo, error)
- type MockAdrestiaServiceMockRecorder
- func (mr *MockAdrestiaServiceMockRecorder) DepositInfo(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) GetAddress(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) GetPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) GetTradeStatus(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) GetWithdrawalTxHash(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) StockBalance(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) Trade(arg0 interface{}) *gomock.Call
- func (mr *MockAdrestiaServiceMockRecorder) Withdraw(arg0 interface{}) *gomock.Call
- type MockHestiaService
- func (m *MockHestiaService) EXPECT() *MockHestiaServiceMockRecorder
- func (m *MockHestiaService) GetCoinsConfig() ([]hestia.Coin, error)
- func (m *MockHestiaService) GetShiftStatus() (hestia.Config, error)
- func (m *MockHestiaService) UpdateShift(arg0 hestia.Shift) (string, error)
- func (m *MockHestiaService) UpdateShiftV2(arg0 hestia.ShiftV2) (string, error)
- type MockHestiaServiceMockRecorder
- func (mr *MockHestiaServiceMockRecorder) GetCoinsConfig() *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) GetShiftStatus() *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) UpdateShift(arg0 interface{}) *gomock.Call
- func (mr *MockHestiaServiceMockRecorder) UpdateShiftV2(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 MockAdrestiaService ¶
type MockAdrestiaService struct {
// contains filtered or unexported fields
}
MockAdrestiaService is a mock of AdrestiaService interface
func NewMockAdrestiaService ¶
func NewMockAdrestiaService(ctrl *gomock.Controller) *MockAdrestiaService
NewMockAdrestiaService creates a new mock instance
func (*MockAdrestiaService) DepositInfo ¶
func (m *MockAdrestiaService) DepositInfo(arg0 models.DepositParams) (models.DepositInfo, error)
DepositInfo mocks base method
func (*MockAdrestiaService) EXPECT ¶
func (m *MockAdrestiaService) EXPECT() *MockAdrestiaServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAdrestiaService) GetAddress ¶
func (m *MockAdrestiaService) GetAddress(arg0 string) (models.AddressResponse, error)
GetAddress mocks base method
func (*MockAdrestiaService) GetPath ¶
func (m *MockAdrestiaService) GetPath(arg0, arg1 string) (models.PathResponse, error)
GetPath mocks base method
func (*MockAdrestiaService) GetTradeStatus ¶
func (m *MockAdrestiaService) GetTradeStatus(arg0 hestia.Trade) (hestia.ExchangeOrderInfo, error)
GetTradeStatus mocks base method
func (*MockAdrestiaService) GetWithdrawalTxHash ¶
func (m *MockAdrestiaService) GetWithdrawalTxHash(arg0 models.WithdrawInfo) (string, error)
GetWithdrawalTxHash mocks base method
func (*MockAdrestiaService) StockBalance ¶
func (m *MockAdrestiaService) StockBalance(arg0 string) (models.BalanceResponse, error)
StockBalance mocks base method
func (*MockAdrestiaService) Trade ¶
func (m *MockAdrestiaService) Trade(arg0 hestia.Trade) (string, error)
Trade mocks base method
func (*MockAdrestiaService) Withdraw ¶
func (m *MockAdrestiaService) Withdraw(arg0 models.WithdrawParams) (models.WithdrawInfo, error)
Withdraw mocks base method
type MockAdrestiaServiceMockRecorder ¶
type MockAdrestiaServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAdrestiaServiceMockRecorder is the mock recorder for MockAdrestiaService
func (*MockAdrestiaServiceMockRecorder) DepositInfo ¶
func (mr *MockAdrestiaServiceMockRecorder) DepositInfo(arg0 interface{}) *gomock.Call
DepositInfo indicates an expected call of DepositInfo
func (*MockAdrestiaServiceMockRecorder) GetAddress ¶
func (mr *MockAdrestiaServiceMockRecorder) GetAddress(arg0 interface{}) *gomock.Call
GetAddress indicates an expected call of GetAddress
func (*MockAdrestiaServiceMockRecorder) GetPath ¶
func (mr *MockAdrestiaServiceMockRecorder) GetPath(arg0, arg1 interface{}) *gomock.Call
GetPath indicates an expected call of GetPath
func (*MockAdrestiaServiceMockRecorder) GetTradeStatus ¶
func (mr *MockAdrestiaServiceMockRecorder) GetTradeStatus(arg0 interface{}) *gomock.Call
GetTradeStatus indicates an expected call of GetTradeStatus
func (*MockAdrestiaServiceMockRecorder) GetWithdrawalTxHash ¶
func (mr *MockAdrestiaServiceMockRecorder) GetWithdrawalTxHash(arg0 interface{}) *gomock.Call
GetWithdrawalTxHash indicates an expected call of GetWithdrawalTxHash
func (*MockAdrestiaServiceMockRecorder) StockBalance ¶
func (mr *MockAdrestiaServiceMockRecorder) StockBalance(arg0 interface{}) *gomock.Call
StockBalance indicates an expected call of StockBalance
func (*MockAdrestiaServiceMockRecorder) Trade ¶
func (mr *MockAdrestiaServiceMockRecorder) Trade(arg0 interface{}) *gomock.Call
Trade indicates an expected call of Trade
func (*MockAdrestiaServiceMockRecorder) Withdraw ¶
func (mr *MockAdrestiaServiceMockRecorder) Withdraw(arg0 interface{}) *gomock.Call
Withdraw indicates an expected call of Withdraw
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) GetShiftStatus ¶
func (m *MockHestiaService) GetShiftStatus() (hestia.Config, error)
GetShiftStatus mocks base method
func (*MockHestiaService) UpdateShift ¶
func (m *MockHestiaService) UpdateShift(arg0 hestia.Shift) (string, error)
UpdateShift mocks base method
func (*MockHestiaService) UpdateShiftV2 ¶
func (m *MockHestiaService) UpdateShiftV2(arg0 hestia.ShiftV2) (string, error)
UpdateShiftV2 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) GetShiftStatus ¶
func (mr *MockHestiaServiceMockRecorder) GetShiftStatus() *gomock.Call
GetShiftStatus indicates an expected call of GetShiftStatus
func (*MockHestiaServiceMockRecorder) UpdateShift ¶
func (mr *MockHestiaServiceMockRecorder) UpdateShift(arg0 interface{}) *gomock.Call
UpdateShift indicates an expected call of UpdateShift
func (*MockHestiaServiceMockRecorder) UpdateShiftV2 ¶
func (mr *MockHestiaServiceMockRecorder) UpdateShiftV2(arg0 interface{}) *gomock.Call
UpdateShiftV2 indicates an expected call of UpdateShiftV2
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