mocks

package
v0.0.0-...-9259d71 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueueProtocolAPI

type QueueProtocolAPI struct {
	mock.Mock
}

QueueProtocolAPI is an autogenerated mock type for the QueueProtocolAPI type

func (*QueueProtocolAPI) Close

func (_m *QueueProtocolAPI) Close()

Close provides a mock function with given fields:

func (*QueueProtocolAPI) CloseQueue

func (_m *QueueProtocolAPI) CloseQueue() (*types.Reply, error)

CloseQueue provides a mock function with given fields:

func (*QueueProtocolAPI) DumpPrivkey

func (_m *QueueProtocolAPI) DumpPrivkey(param *types.ReqString) (*types.ReplyString, error)

DumpPrivkey provides a mock function with given fields: param

func (*QueueProtocolAPI) ExecWallet

func (_m *QueueProtocolAPI) ExecWallet(param *types.ChainExecutor) (types.Message, error)

ExecWallet provides a mock function with given fields: param

func (*QueueProtocolAPI) ExecWalletFunc

func (_m *QueueProtocolAPI) ExecWalletFunc(driver string, funcname string, param types.Message) (types.Message, error)

ExecWalletFunc provides a mock function with given fields: driver, funcname, param

func (*QueueProtocolAPI) GenSeed

func (_m *QueueProtocolAPI) GenSeed(param *types.GenSeedLang) (*types.ReplySeed, error)

GenSeed provides a mock function with given fields: param

func (*QueueProtocolAPI) GetAddrOverview

func (_m *QueueProtocolAPI) GetAddrOverview(param *types.ReqAddr) (*types.AddrOverview, error)

GetAddrOverview provides a mock function with given fields: param

func (*QueueProtocolAPI) GetBlockByHashes

func (_m *QueueProtocolAPI) GetBlockByHashes(param *types.ReqHashes) (*types.BlockDetails, error)

GetBlockByHashes provides a mock function with given fields: param

func (*QueueProtocolAPI) GetBlockHash

func (_m *QueueProtocolAPI) GetBlockHash(param *types.ReqInt) (*types.ReplyHash, error)

GetBlockHash provides a mock function with given fields: param

func (*QueueProtocolAPI) GetBlockOverview

func (_m *QueueProtocolAPI) GetBlockOverview(param *types.ReqHash) (*types.BlockOverview, error)

GetBlockOverview provides a mock function with given fields: param

func (*QueueProtocolAPI) GetBlockSequences

func (_m *QueueProtocolAPI) GetBlockSequences(param *types.ReqBlocks) (*types.BlockSequences, error)

GetBlockSequences provides a mock function with given fields: param

func (*QueueProtocolAPI) GetBlocks

func (_m *QueueProtocolAPI) GetBlocks(param *types.ReqBlocks) (*types.BlockDetails, error)

GetBlocks provides a mock function with given fields: param

func (*QueueProtocolAPI) GetFatalFailure

func (_m *QueueProtocolAPI) GetFatalFailure() (*types.Int32, error)

GetFatalFailure provides a mock function with given fields:

func (*QueueProtocolAPI) GetHeaders

func (_m *QueueProtocolAPI) GetHeaders(param *types.ReqBlocks) (*types.Headers, error)

GetHeaders provides a mock function with given fields: param

func (*QueueProtocolAPI) GetLastBlockSequence

func (_m *QueueProtocolAPI) GetLastBlockSequence() (*types.Int64, error)

GetLastBlockSequence provides a mock function with given fields:

func (*QueueProtocolAPI) GetLastHeader

func (_m *QueueProtocolAPI) GetLastHeader() (*types.Header, error)

GetLastHeader provides a mock function with given fields:

func (*QueueProtocolAPI) GetLastMempool

func (_m *QueueProtocolAPI) GetLastMempool() (*types.ReplyTxList, error)

GetLastMempool provides a mock function with given fields:

func (*QueueProtocolAPI) GetMempool

func (_m *QueueProtocolAPI) GetMempool() (*types.ReplyTxList, error)

GetMempool provides a mock function with given fields:

func (*QueueProtocolAPI) GetNetInfo

func (_m *QueueProtocolAPI) GetNetInfo() (*types.NodeNetInfo, error)

GetNetInfo provides a mock function with given fields:

func (*QueueProtocolAPI) GetSeed

func (_m *QueueProtocolAPI) GetSeed(param *types.GetSeedByPw) (*types.ReplySeed, error)

GetSeed provides a mock function with given fields: param

func (*QueueProtocolAPI) GetTransactionByAddr

func (_m *QueueProtocolAPI) GetTransactionByAddr(param *types.ReqAddr) (*types.ReplyTxInfos, error)

GetTransactionByAddr provides a mock function with given fields: param

func (*QueueProtocolAPI) GetTransactionByHash

func (_m *QueueProtocolAPI) GetTransactionByHash(param *types.ReqHashes) (*types.TransactionDetails, error)

GetTransactionByHash provides a mock function with given fields: param

func (*QueueProtocolAPI) GetTxList

func (_m *QueueProtocolAPI) GetTxList(param *types.TxHashList) (*types.ReplyTxList, error)

GetTxList provides a mock function with given fields: param

func (*QueueProtocolAPI) GetWalletStatus

func (_m *QueueProtocolAPI) GetWalletStatus() (*types.WalletStatus, error)

GetWalletStatus provides a mock function with given fields:

func (*QueueProtocolAPI) IsNtpClockSync

func (_m *QueueProtocolAPI) IsNtpClockSync() (*types.Reply, error)

IsNtpClockSync provides a mock function with given fields:

func (*QueueProtocolAPI) IsSync

func (_m *QueueProtocolAPI) IsSync() (*types.Reply, error)

IsSync provides a mock function with given fields:

func (*QueueProtocolAPI) LocalGet

func (_m *QueueProtocolAPI) LocalGet(param *types.LocalDBGet) (*types.LocalReplyValue, error)

LocalGet provides a mock function with given fields: param

func (*QueueProtocolAPI) LocalList

func (_m *QueueProtocolAPI) LocalList(param *types.LocalDBList) (*types.LocalReplyValue, error)

LocalList provides a mock function with given fields: param

func (*QueueProtocolAPI) NewAccount

func (_m *QueueProtocolAPI) NewAccount(param *types.ReqNewAccount) (*types.WalletAccount, error)

NewAccount provides a mock function with given fields: param

func (*QueueProtocolAPI) NewMessage

func (_m *QueueProtocolAPI) NewMessage(topic string, msgid int64, data interface{}) queue.Message

NewMessage provides a mock function with given fields: topic, msgid, data

func (*QueueProtocolAPI) Notify

func (_m *QueueProtocolAPI) Notify(topic string, ty int64, data interface{}) (queue.Message, error)

Notify provides a mock function with given fields: topic, ty, data

func (*QueueProtocolAPI) PeerInfo

func (_m *QueueProtocolAPI) PeerInfo() (*types.PeerList, error)

PeerInfo provides a mock function with given fields:

func (*QueueProtocolAPI) Query

func (_m *QueueProtocolAPI) Query(driver string, funcname string, param types.Message) (types.Message, error)

Query provides a mock function with given fields: driver, funcname, param

func (*QueueProtocolAPI) QueryChain

func (_m *QueueProtocolAPI) QueryChain(param *types.ChainExecutor) (types.Message, error)

QueryChain provides a mock function with given fields: param

func (*QueueProtocolAPI) QueryConsensus

func (_m *QueueProtocolAPI) QueryConsensus(param *types.ChainExecutor) (types.Message, error)

QueryConsensus provides a mock function with given fields: param

func (*QueueProtocolAPI) QueryConsensusFunc

func (_m *QueueProtocolAPI) QueryConsensusFunc(driver string, funcname string, param types.Message) (types.Message, error)

QueryConsensusFunc provides a mock function with given fields: driver, funcname, param

func (*QueueProtocolAPI) QueryTx

func (_m *QueueProtocolAPI) QueryTx(param *types.ReqHash) (*types.TransactionDetail, error)

QueryTx provides a mock function with given fields: param

func (*QueueProtocolAPI) SaveSeed

func (_m *QueueProtocolAPI) SaveSeed(param *types.SaveSeedByPw) (*types.Reply, error)

SaveSeed provides a mock function with given fields: param

func (*QueueProtocolAPI) SendTx

func (_m *QueueProtocolAPI) SendTx(param *types.Transaction) (*types.Reply, error)

SendTx provides a mock function with given fields: param

func (*QueueProtocolAPI) SignRawTx

func (_m *QueueProtocolAPI) SignRawTx(param *types.ReqSignRawTx) (*types.ReplySignRawTx, error)

SignRawTx provides a mock function with given fields: param

func (*QueueProtocolAPI) StoreGet

func (_m *QueueProtocolAPI) StoreGet(_a0 *types.StoreGet) (*types.StoreReplyValue, error)

StoreGet provides a mock function with given fields: _a0

func (*QueueProtocolAPI) StoreGetTotalCoins

StoreGetTotalCoins provides a mock function with given fields: _a0

func (*QueueProtocolAPI) StoreList

func (_m *QueueProtocolAPI) StoreList(param *types.StoreList) (*types.StoreListReply, error)

StoreList provides a mock function with given fields: param

func (*QueueProtocolAPI) Version

func (_m *QueueProtocolAPI) Version() (*types.Reply, error)

Version provides a mock function with given fields:

func (*QueueProtocolAPI) WalletCreateTx

func (_m *QueueProtocolAPI) WalletCreateTx(param *types.ReqCreateTransaction) (*types.Transaction, error)

WalletCreateTx provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletGetAccountList

func (_m *QueueProtocolAPI) WalletGetAccountList(req *types.ReqAccountList) (*types.WalletAccounts, error)

WalletGetAccountList provides a mock function with given fields: req

func (*QueueProtocolAPI) WalletImportprivkey

func (_m *QueueProtocolAPI) WalletImportprivkey(param *types.ReqWalletImportPrivkey) (*types.WalletAccount, error)

WalletImportprivkey provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletLock

func (_m *QueueProtocolAPI) WalletLock() (*types.Reply, error)

WalletLock provides a mock function with given fields:

func (*QueueProtocolAPI) WalletMergeBalance

func (_m *QueueProtocolAPI) WalletMergeBalance(param *types.ReqWalletMergeBalance) (*types.ReplyHashes, error)

WalletMergeBalance provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletSendToAddress

func (_m *QueueProtocolAPI) WalletSendToAddress(param *types.ReqWalletSendToAddress) (*types.ReplyHash, error)

WalletSendToAddress provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletSetFee

func (_m *QueueProtocolAPI) WalletSetFee(param *types.ReqWalletSetFee) (*types.Reply, error)

WalletSetFee provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletSetLabel

func (_m *QueueProtocolAPI) WalletSetLabel(param *types.ReqWalletSetLabel) (*types.WalletAccount, error)

WalletSetLabel provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletSetPasswd

func (_m *QueueProtocolAPI) WalletSetPasswd(param *types.ReqWalletSetPasswd) (*types.Reply, error)

WalletSetPasswd provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletTransactionList

func (_m *QueueProtocolAPI) WalletTransactionList(param *types.ReqWalletTransactionList) (*types.WalletTxDetails, error)

WalletTransactionList provides a mock function with given fields: param

func (*QueueProtocolAPI) WalletUnLock

func (_m *QueueProtocolAPI) WalletUnLock(param *types.WalletUnLock) (*types.Reply, error)

WalletUnLock provides a mock function with given fields: param

Jump to

Keyboard shortcuts

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