{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","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) PolicyByChaincode(channel string, cc string) policies.InquireablePolicy\n```\n\n```go\ntype MetadataRetriever interface {\n\tMetadata(channel string, cc string, loadCollections bool) *chaincode.Metadata\n}\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/discovery/support/chaincode","name":"chaincode","synopsis":"","isRedistributable":true}
