fabric: github.com/hyperledger/fabric/core/mocks/peer Index | Files

package peer

import "github.com/hyperledger/fabric/core/mocks/peer"

Index

Package Files

support.go

type MockSupportFactoryImpl Uses

type MockSupportFactoryImpl struct {
    NewSupportRv *MockSupportImpl
}

func (*MockSupportFactoryImpl) NewSupport Uses

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

type MockSupportImpl Uses

type MockSupportImpl struct {
    GetApplicationConfigRv     channelconfig.Application
    GetApplicationConfigBoolRv bool
    ChaincodeByNameRv          *ccprovider.ChaincodeData
    ChaincodeByNameBoolRv      bool
}

func (*MockSupportImpl) ChaincodeByName Uses

func (s *MockSupportImpl) ChaincodeByName(chainname, ccname string) (*ccprovider.ChaincodeData, bool)

func (*MockSupportImpl) GetApplicationConfig Uses

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

Package peer imports 3 packages (graph). Updated 2018-07-31. Refresh now. Tools for package owners.