Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscoverySupport

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

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

func NewDiscoverySupport

func NewDiscoverySupport(ci MetadataRetriever) *DiscoverySupport

NewDiscoverySupport creates a new DiscoverySupport

func (*DiscoverySupport) PoliciesByChaincode

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

type MetadataRetriever

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

Source Files