peer

package
v0.0.0-...-258e316 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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          *ccprovider.ChaincodeData
	ChaincodeByNameBoolRv      bool
}

func (*MockSupportImpl) ChaincodeByName

func (s *MockSupportImpl) ChaincodeByName(chainname, ccname string) (*ccprovider.ChaincodeData, 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