Documentation
¶
Index ¶
- Constants
- func SetOrgs(tms *topology.TMS, orgs ...string) *topology.TMS
- type Entry
- type NetworkHandler
- func (p *NetworkHandler) Fabric(tms *topology2.TMS) fabricPlatform
- func (p *NetworkHandler) GenIssuerCryptoMaterial(tms *topology2.TMS, nodeID string, walletID string) string
- func (p *NetworkHandler) GenerateArtifacts(tms *topology2.TMS)
- func (p *NetworkHandler) GenerateCryptoMaterial(cmGenerator generators.CryptoMaterialGenerator, tms *topology2.TMS, ...)
- func (p *NetworkHandler) GenerateExtension(tms *topology2.TMS, node *sfcnode.Node) string
- func (p *NetworkHandler) GetEntry(tms *topology2.TMS) *Entry
- func (p *NetworkHandler) PostRun(load bool, tms *topology2.TMS)
- func (p *NetworkHandler) PrepareTCC(tms *topology3.TMS, orgs []string) (*topology.ChannelChaincode, uint16)
- func (p *NetworkHandler) SetCryptoMaterialGenerator(driver string, generator generators.CryptoMaterialGenerator)
- func (p *NetworkHandler) TCCCtor(tms *topology3.TMS) string
- func (p *NetworkHandler) TokenChaincodeServerAddr(port uint16) string
- type TCC
Constants ¶
View Source
const ( DefaultTokenChaincode = "github.com/hyperledger-labs/fabric-token-sdk/token/services/network/fabric/tcc/main" DefaultTokenChaincodeParamsReplaceSuffix = "/token/services/network/fabric/tcc/params.go" )
View Source
const Extension = `` /* 3200-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkHandler ¶
type NetworkHandler struct { TokenPlatform tokenPlatform TokenChaincodePath string TokenChaincodeParamsReplaceSuffix string Entries map[string]*Entry CryptoMaterialGenerators map[string]generators.CryptoMaterialGenerator EventuallyTimeout time.Duration ColorIndex int }
func NewNetworkHandler ¶
func NewNetworkHandler(tokenPlatform tokenPlatform, builder api2.Builder) *NetworkHandler
func (*NetworkHandler) Fabric ¶
func (p *NetworkHandler) Fabric(tms *topology2.TMS) fabricPlatform
func (*NetworkHandler) GenIssuerCryptoMaterial ¶
func (*NetworkHandler) GenerateArtifacts ¶
func (p *NetworkHandler) GenerateArtifacts(tms *topology2.TMS)
func (*NetworkHandler) GenerateCryptoMaterial ¶
func (p *NetworkHandler) GenerateCryptoMaterial(cmGenerator generators.CryptoMaterialGenerator, tms *topology2.TMS, node *sfcnode.Node)
func (*NetworkHandler) GenerateExtension ¶
func (*NetworkHandler) PrepareTCC ¶
func (p *NetworkHandler) PrepareTCC(tms *topology3.TMS, orgs []string) (*topology.ChannelChaincode, uint16)
func (*NetworkHandler) SetCryptoMaterialGenerator ¶
func (p *NetworkHandler) SetCryptoMaterialGenerator(driver string, generator generators.CryptoMaterialGenerator)
func (*NetworkHandler) TokenChaincodeServerAddr ¶
func (p *NetworkHandler) TokenChaincodeServerAddr(port uint16) string
type TCC ¶
type TCC struct {
Chaincode *topology.ChannelChaincode
}
Click to show internal directories.
Click to hide internal directories.