peer

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSupportFactoryImpl

type MockSupportFactoryImpl struct {
	NewSupportRv *MockSupportImpl
}

func (*MockSupportFactoryImpl) NewSupport

func (c *MockSupportFactoryImpl) NewSupport() peer.Support

type MockSupportImpl

type MockSupportImpl struct {
	GetApplicationConfigRv     channelconfig.Application
	GetApplicationConfigBoolRv bool
	ChaincodeByNameRv          resourcesconfig.ChaincodeDefinition
	ChaincodeByNameBoolRv      bool
}

func (*MockSupportImpl) ChaincodeByName

func (s *MockSupportImpl) ChaincodeByName(chainname, ccname string) (resourcesconfig.ChaincodeDefinition, bool)

func (*MockSupportImpl) GetApplicationConfig

func (s *MockSupportImpl) GetApplicationConfig(cid string) (channelconfig.Application, bool)

Jump to

Keyboard shortcuts

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