Help us shape the future of Go! Take the 2026 Go Developer Survey

chaincode

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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) PolicyByChaincode

func (s *DiscoverySupport) PolicyByChaincode(channel string, cc string) policies.InquireablePolicy

type MetadataRetriever

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL