mocks

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadWriter

type ReadWriter struct {
	mock.Mock
}

ReadWriter is an autogenerated mock type for the ReadWriter type

func (*ReadWriter) Append

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

Append provides a mock function with given fields: 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)

Iterator provides a mock function with given fields: startType

Jump to

Keyboard shortcuts

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