mocks

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. 不要编辑。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadWriter

type ReadWriter struct {
	mock.Mock
}

func (*ReadWriter) Append

func (_m *ReadWriter) Append(block *common.Block) error

append提供了一个具有给定字段的模拟函数:block

func (*ReadWriter) Height

func (_m *ReadWriter) Height() uint64

Height provides a mock function with given fields:

func (*ReadWriter) Iterator

func (_m *ReadWriter) Iterator(startType *orderer.SeekPosition) (blockledger.Iterator, uint64)

Jump to

Keyboard shortcuts

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