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

package chaincode

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


Package Files


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) PoliciesByChaincode Uses

func (s *DiscoverySupport) PoliciesByChaincode(channel string, cc string, collections ...string) []policies.InquireablePolicy

type MetadataRetriever Uses

type MetadataRetriever interface {
    Metadata(channel string, cc string, collections ...string) *chaincode.Metadata

Package chaincode imports 6 packages (graph) and is imported by 2 packages. Updated 2020-04-01. Refresh now. Tools for package owners.