Versions in this module Expand all Collapse all v2 v2.3.2 Nov 21, 2021 Changes in this version + type BuildRegistry struct + func (br *BuildRegistry) BuildStatus(ccid string) (*BuildStatus, bool) + func (br *BuildRegistry) ResetBuildStatus(ccid string) *BuildStatus + type BuildStatus struct + func NewBuildStatus() *BuildStatus + func (bs *BuildStatus) Done() <-chan struct{} + func (bs *BuildStatus) Err() error + func (bs *BuildStatus) Notify(err error) + type DockerBuilder interface + Build func(ccid string, metadata *persistence.ChaincodePackageMetadata, ...) (Instance, error) + type ExternalBuilder interface + Build func(ccid string, metadata []byte, codePackageStream io.Reader) (Instance, error) + type Instance interface + ChaincodeServerInfo func() (*ccintf.ChaincodeServerInfo, error) + Start func(peerConnection *ccintf.PeerConnection) error + Stop func() error + Wait func() (int, error) + type PackageProvider interface + GetChaincodePackage func(packageID string) (md *persistence.ChaincodePackageMetadata, mdBytes []byte, ...) + type Router struct + DockerBuilder DockerBuilder + ExternalBuilder ExternalBuilder + PackageProvider PackageProvider + func (r *Router) Build(ccid string) error + func (r *Router) ChaincodeServerInfo(ccid string) (*ccintf.ChaincodeServerInfo, error) + func (r *Router) Shutdown(timeout time.Duration) + func (r *Router) Start(ccid string, peerConnection *ccintf.PeerConnection) error + func (r *Router) Stop(ccid string) error + func (r *Router) Wait(ccid string) (int, error) + type UninitializedInstance struct + func (UninitializedInstance) ChaincodeServerInfo() (*ccintf.ChaincodeServerInfo, error) + func (UninitializedInstance) Start(peerConnection *ccintf.PeerConnection) error + func (UninitializedInstance) Stop() error + func (UninitializedInstance) Wait() (int, error) Other modules containing this package github.com/waszqt/fabric