fabric: github.com/hyperledger/fabric/discovery/support/chaincode Index | Files

package chaincode

import "github.com/hyperledger/fabric/discovery/support/chaincode"

Index

Package Files

support.go

type DiscoverySupport Uses

type DiscoverySupport struct {
    // contains filtered or unexported fields
}

DiscoverySupport implements support that is used for service discovery that is related to chaincode

func NewDiscoverySupport Uses

func NewDiscoverySupport(ci MetadataRetriever) *DiscoverySupport

NewDiscoverySupport creates a new DiscoverySupport

func (*DiscoverySupport) PolicyByChaincode Uses

func (s *DiscoverySupport) PolicyByChaincode(channel string, cc string) policies.InquireablePolicy

type MetadataRetriever Uses

type MetadataRetriever interface {
    Metadata(channel string, cc string, loadCollections bool) *chaincode.Metadata
}

Package chaincode imports 6 packages (graph) and is imported by 1 packages. Updated 2019-01-15. Refresh now. Tools for package owners.