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

func (s *DiscoverySupport) PoliciesByChaincode(channel string, cc string, _ ...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 2 packages. Updated 2020-01-06. Refresh now. Tools for package owners.