mocks

package
v0.0.0-...-cb2f933 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: BSD-3-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) AddSeqCallBack

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

AddSeqCallBack provides a mock function with given fields: param

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) GetBlockBySeq

func (_m *QueueProtocolAPI) GetBlockBySeq(param *types.Int64) (*types.BlockSeq, error)

GetBlockBySeq 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) GetLastBlockMainSequence

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

GetLastBlockMainSequence provides a mock function with given fields:

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) GetMainSequenceByHash

func (_m *QueueProtocolAPI) GetMainSequenceByHash(param *types.ReqHash) (*types.Int64, error)

GetMainSequenceByHash provides a mock function with given fields: param

func (*QueueProtocolAPI) GetMempool

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

GetMempool provides a mock function with given fields: req

func (*QueueProtocolAPI) GetNetInfo

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

GetNetInfo provides a mock function with given fields:

func (*QueueProtocolAPI) GetProperFee

func (_m *QueueProtocolAPI) GetProperFee(req *types.ReqProperFee) (*types.ReplyProperFee, error)

GetProperFee provides a mock function with given fields: req

func (*QueueProtocolAPI) GetSeed

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

GetSeed provides a mock function with given fields: param

func (*QueueProtocolAPI) GetSeqCallBackLastNum

func (_m *QueueProtocolAPI) GetSeqCallBackLastNum(param *types.ReqString) (*types.Int64, error)

GetSeqCallBackLastNum provides a mock function with given fields: param

func (*QueueProtocolAPI) GetSequenceByHash

func (_m *QueueProtocolAPI) GetSequenceByHash(param *types.ReqHash) (*types.Int64, error)

GetSequenceByHash 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) ListSeqCallBack

func (_m *QueueProtocolAPI) ListSeqCallBack() (*types.BlockSeqCBs, error)

ListSeqCallBack provides a mock function with given fields:

func (*QueueProtocolAPI) LocalBegin

func (_m *QueueProtocolAPI) LocalBegin(param *types.Int64) error

LocalBegin provides a mock function with given fields: param

func (*QueueProtocolAPI) LocalClose

func (_m *QueueProtocolAPI) LocalClose(param *types.Int64) error

LocalClose provides a mock function with given fields: param

func (*QueueProtocolAPI) LocalCommit

func (_m *QueueProtocolAPI) LocalCommit(param *types.Int64) error

LocalCommit provides a mock function with given fields: param

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) LocalNew

func (_m *QueueProtocolAPI) LocalNew(param *types.ReqNil) (*types.Int64, error)

LocalNew provides a mock function with given fields: param

func (*QueueProtocolAPI) LocalRollback

func (_m *QueueProtocolAPI) LocalRollback(param *types.Int64) error

LocalRollback provides a mock function with given fields: param

func (*QueueProtocolAPI) LocalSet

func (_m *QueueProtocolAPI) LocalSet(param *types.LocalDBSet) error

LocalSet 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) StoreCommit

func (_m *QueueProtocolAPI) StoreCommit(param *types.ReqHash) (*types.ReplyHash, error)

StoreCommit provides a mock function with given fields: param

func (*QueueProtocolAPI) StoreDel

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

StoreDel 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) StoreMemSet

func (_m *QueueProtocolAPI) StoreMemSet(param *types.StoreSetWithSync) (*types.ReplyHash, error)

StoreMemSet provides a mock function with given fields: param

func (*QueueProtocolAPI) StoreRollback

func (_m *QueueProtocolAPI) StoreRollback(param *types.ReqHash) (*types.ReplyHash, error)

StoreRollback provides a mock function with given fields: param

func (*QueueProtocolAPI) StoreSet

func (_m *QueueProtocolAPI) StoreSet(param *types.StoreSetWithSync) (*types.ReplyHash, error)

StoreSet provides a mock function with given fields: param

func (*QueueProtocolAPI) Version

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

Version provides a mock function with given fields:

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