mocks

package
v0.0.0-...-e0155c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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

DepositInfo mocks base method

func (*MockAdrestiaService) EXPECT

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL