Documentation ¶
Overview ¶
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
Index ¶
- type LedgerManager
- func (fake *LedgerManager) GetLedgerReader(channel string) (ledger.LedgerReader, error)
- func (fake *LedgerManager) GetLedgerReaderArgsForCall(i int) string
- func (fake *LedgerManager) GetLedgerReaderCallCount() int
- func (fake *LedgerManager) GetLedgerReaderReturns(result1 ledger.LedgerReader, result2 error)
- func (fake *LedgerManager) GetLedgerReaderReturnsOnCall(i int, result1 ledger.LedgerReader, result2 error)
- func (fake *LedgerManager) Invocations() map[string][][]interface{}
- type LedgerReader
- func (fake *LedgerReader) Done()
- func (fake *LedgerReader) DoneCallCount() int
- func (fake *LedgerReader) GetState(namespace string, key string) ([]byte, error)
- func (fake *LedgerReader) GetStateArgsForCall(i int) (string, string)
- func (fake *LedgerReader) GetStateCallCount() int
- func (fake *LedgerReader) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error)
- func (fake *LedgerReader) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *LedgerReader) GetStateRangeScanIteratorCallCount() int
- func (fake *LedgerReader) GetStateRangeScanIteratorReturns(result1 ledgercommon.ResultsIterator, result2 error)
- func (fake *LedgerReader) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledgercommon.ResultsIterator, result2 error)
- func (fake *LedgerReader) GetStateReturns(result1 []byte, result2 error)
- func (fake *LedgerReader) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *LedgerReader) Invocations() map[string][][]interface{}
- type LedgerWriter
- func (fake *LedgerWriter) Done()
- func (fake *LedgerWriter) DoneCallCount() int
- func (fake *LedgerWriter) GetState(namespace string, key string) ([]byte, error)
- func (fake *LedgerWriter) GetStateArgsForCall(i int) (string, string)
- func (fake *LedgerWriter) GetStateCallCount() int
- func (fake *LedgerWriter) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error)
- func (fake *LedgerWriter) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
- func (fake *LedgerWriter) GetStateRangeScanIteratorCallCount() int
- func (fake *LedgerWriter) GetStateRangeScanIteratorReturns(result1 ledgercommon.ResultsIterator, result2 error)
- func (fake *LedgerWriter) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledgercommon.ResultsIterator, result2 error)
- func (fake *LedgerWriter) GetStateReturns(result1 []byte, result2 error)
- func (fake *LedgerWriter) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *LedgerWriter) Invocations() map[string][][]interface{}
- func (fake *LedgerWriter) SetState(namespace string, key string, value []byte) error
- func (fake *LedgerWriter) SetStateArgsForCall(i int) (string, string, []byte)
- func (fake *LedgerWriter) SetStateCallCount() int
- func (fake *LedgerWriter) SetStateReturns(result1 error)
- func (fake *LedgerWriter) SetStateReturnsOnCall(i int, result1 error)
- type ResultsIterator
- func (fake *ResultsIterator) Close()
- func (fake *ResultsIterator) CloseCallCount() int
- func (fake *ResultsIterator) Invocations() map[string][][]interface{}
- func (fake *ResultsIterator) Next() (ledgercommon.QueryResult, error)
- func (fake *ResultsIterator) NextCallCount() int
- func (fake *ResultsIterator) NextReturns(result1 ledgercommon.QueryResult, result2 error)
- func (fake *ResultsIterator) NextReturnsOnCall(i int, result1 ledgercommon.QueryResult, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LedgerManager ¶
type LedgerManager struct { GetLedgerReaderStub func(channel string) (ledger.LedgerReader, error) // contains filtered or unexported fields }
func (*LedgerManager) GetLedgerReader ¶
func (fake *LedgerManager) GetLedgerReader(channel string) (ledger.LedgerReader, error)
func (*LedgerManager) GetLedgerReaderArgsForCall ¶
func (fake *LedgerManager) GetLedgerReaderArgsForCall(i int) string
func (*LedgerManager) GetLedgerReaderCallCount ¶
func (fake *LedgerManager) GetLedgerReaderCallCount() int
func (*LedgerManager) GetLedgerReaderReturns ¶
func (fake *LedgerManager) GetLedgerReaderReturns(result1 ledger.LedgerReader, result2 error)
func (*LedgerManager) GetLedgerReaderReturnsOnCall ¶
func (fake *LedgerManager) GetLedgerReaderReturnsOnCall(i int, result1 ledger.LedgerReader, result2 error)
func (*LedgerManager) Invocations ¶
func (fake *LedgerManager) Invocations() map[string][][]interface{}
type LedgerReader ¶
type LedgerReader struct { GetStateStub func(namespace string, key string) ([]byte, error) GetStateRangeScanIteratorStub func(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error) DoneStub func() // contains filtered or unexported fields }
func (*LedgerReader) Done ¶
func (fake *LedgerReader) Done()
func (*LedgerReader) DoneCallCount ¶
func (fake *LedgerReader) DoneCallCount() int
func (*LedgerReader) GetState ¶
func (fake *LedgerReader) GetState(namespace string, key string) ([]byte, error)
func (*LedgerReader) GetStateArgsForCall ¶
func (fake *LedgerReader) GetStateArgsForCall(i int) (string, string)
func (*LedgerReader) GetStateCallCount ¶
func (fake *LedgerReader) GetStateCallCount() int
func (*LedgerReader) GetStateRangeScanIterator ¶
func (fake *LedgerReader) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error)
func (*LedgerReader) GetStateRangeScanIteratorArgsForCall ¶
func (fake *LedgerReader) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*LedgerReader) GetStateRangeScanIteratorCallCount ¶
func (fake *LedgerReader) GetStateRangeScanIteratorCallCount() int
func (*LedgerReader) GetStateRangeScanIteratorReturns ¶
func (fake *LedgerReader) GetStateRangeScanIteratorReturns(result1 ledgercommon.ResultsIterator, result2 error)
func (*LedgerReader) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *LedgerReader) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledgercommon.ResultsIterator, result2 error)
func (*LedgerReader) GetStateReturns ¶
func (fake *LedgerReader) GetStateReturns(result1 []byte, result2 error)
func (*LedgerReader) GetStateReturnsOnCall ¶
func (fake *LedgerReader) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*LedgerReader) Invocations ¶
func (fake *LedgerReader) Invocations() map[string][][]interface{}
type LedgerWriter ¶
type LedgerWriter struct { GetStateStub func(namespace string, key string) ([]byte, error) GetStateRangeScanIteratorStub func(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error) DoneStub func() SetStateStub func(namespace string, key string, value []byte) error // contains filtered or unexported fields }
func (*LedgerWriter) Done ¶
func (fake *LedgerWriter) Done()
func (*LedgerWriter) DoneCallCount ¶
func (fake *LedgerWriter) DoneCallCount() int
func (*LedgerWriter) GetState ¶
func (fake *LedgerWriter) GetState(namespace string, key string) ([]byte, error)
func (*LedgerWriter) GetStateArgsForCall ¶
func (fake *LedgerWriter) GetStateArgsForCall(i int) (string, string)
func (*LedgerWriter) GetStateCallCount ¶
func (fake *LedgerWriter) GetStateCallCount() int
func (*LedgerWriter) GetStateRangeScanIterator ¶
func (fake *LedgerWriter) GetStateRangeScanIterator(namespace string, startKey string, endKey string) (ledgercommon.ResultsIterator, error)
func (*LedgerWriter) GetStateRangeScanIteratorArgsForCall ¶
func (fake *LedgerWriter) GetStateRangeScanIteratorArgsForCall(i int) (string, string, string)
func (*LedgerWriter) GetStateRangeScanIteratorCallCount ¶
func (fake *LedgerWriter) GetStateRangeScanIteratorCallCount() int
func (*LedgerWriter) GetStateRangeScanIteratorReturns ¶
func (fake *LedgerWriter) GetStateRangeScanIteratorReturns(result1 ledgercommon.ResultsIterator, result2 error)
func (*LedgerWriter) GetStateRangeScanIteratorReturnsOnCall ¶
func (fake *LedgerWriter) GetStateRangeScanIteratorReturnsOnCall(i int, result1 ledgercommon.ResultsIterator, result2 error)
func (*LedgerWriter) GetStateReturns ¶
func (fake *LedgerWriter) GetStateReturns(result1 []byte, result2 error)
func (*LedgerWriter) GetStateReturnsOnCall ¶
func (fake *LedgerWriter) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
func (*LedgerWriter) Invocations ¶
func (fake *LedgerWriter) Invocations() map[string][][]interface{}
func (*LedgerWriter) SetState ¶
func (fake *LedgerWriter) SetState(namespace string, key string, value []byte) error
func (*LedgerWriter) SetStateArgsForCall ¶
func (fake *LedgerWriter) SetStateArgsForCall(i int) (string, string, []byte)
func (*LedgerWriter) SetStateCallCount ¶
func (fake *LedgerWriter) SetStateCallCount() int
func (*LedgerWriter) SetStateReturns ¶
func (fake *LedgerWriter) SetStateReturns(result1 error)
func (*LedgerWriter) SetStateReturnsOnCall ¶
func (fake *LedgerWriter) SetStateReturnsOnCall(i int, result1 error)
type ResultsIterator ¶
type ResultsIterator struct { NextStub func() (ledgercommon.QueryResult, error) CloseStub func() // contains filtered or unexported fields }
func (*ResultsIterator) Close ¶
func (fake *ResultsIterator) Close()
func (*ResultsIterator) CloseCallCount ¶
func (fake *ResultsIterator) CloseCallCount() int
func (*ResultsIterator) Invocations ¶
func (fake *ResultsIterator) Invocations() map[string][][]interface{}
func (*ResultsIterator) Next ¶
func (fake *ResultsIterator) Next() (ledgercommon.QueryResult, error)
func (*ResultsIterator) NextCallCount ¶
func (fake *ResultsIterator) NextCallCount() int
func (*ResultsIterator) NextReturns ¶
func (fake *ResultsIterator) NextReturns(result1 ledgercommon.QueryResult, result2 error)
func (*ResultsIterator) NextReturnsOnCall ¶
func (fake *ResultsIterator) NextReturnsOnCall(i int, result1 ledgercommon.QueryResult, result2 error)