{"modulePath":"https-1xa.pages.dev/hyperledger/fabric","version":"v2.1.1+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package chaincode\n\n## Types\n\n```go\ntype DiscoverySupport struct {\n\t// contains filtered or unexported fields\n}\n```\nDiscoverySupport implements support that is used for service discovery that is related to chaincode\n\n```go\nfunc NewDiscoverySupport(ci MetadataRetriever) *DiscoverySupport\n```\nNewDiscoverySupport creates a new DiscoverySupport\n\n```go\nfunc (s *DiscoverySupport) PoliciesByChaincode(channel string, cc string, collections ...string) []policies.InquireablePolicy\n```\n\n```go\ntype MetadataRetriever interface {\n\tMetadata(channel string, cc string, collections ...string) *chaincode.Metadata\n}\n```\n\n","path":"https-1xa.pages.dev/hyperledger/fabric/discovery/support/chaincode","name":"chaincode","synopsis":"","isRedistributable":true}
