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: 3 Imported by: 0

Documentation

Overview

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

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

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

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 Enumerator

type Enumerator struct {
	mock.Mock
}

枚举器是为枚举器类型自动生成的模拟类型

func (*Enumerator) Enumerate

func (_m *Enumerator) Enumerate() ([]chaincode.InstalledChaincode, error)

枚举提供具有给定字段的模拟函数:

type LifeCycleChangeListener

type LifeCycleChangeListener struct {
	mock.Mock
}

func (*LifeCycleChangeListener) LifeCycleChangeListener

func (_m *LifeCycleChangeListener) LifeCycleChangeListener(channel string, chaincodes chaincode.MetadataSet)

LifecycleChangeListener提供具有给定字段的模拟函数:channel、chaincodes

type Query

type Query struct {
	mock.Mock
}

func (*Query) Done

func (_m *Query) Done()

Done为给定字段提供模拟函数:

func (*Query) GetState

func (_m *Query) GetState(namespace string, key string) ([]byte, error)

GetState提供了一个具有给定字段的模拟函数:命名空间、键

type QueryCreator

type QueryCreator struct {
	mock.Mock
}

QueryCreator是为QueryCreator类型自动生成的模拟类型

func (*QueryCreator) NewQuery

func (_m *QueryCreator) NewQuery() (cc.Query, error)

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

Jump to

Keyboard shortcuts

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