Documentation
¶
Index ¶
- Constants
- func PublicParamsTemplate(ppRaw []byte) *bytes.Buffer
- type GenericBackend
- func (p *GenericBackend) Fabric(tms *topology3.TMS) fabricPlatform
- func (p *GenericBackend) PrepareNamespace(tms *topology3.TMS)
- func (p *GenericBackend) TCCCtor(tms *topology3.TMS) string
- func (p *GenericBackend) TokenChaincodeServerAddr(port uint16) string
- func (p *GenericBackend) UpdatePublicParams(tms *topology3.TMS, ppRaw []byte)
- 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" )
Variables ¶
This section is empty.
Functions ¶
func PublicParamsTemplate ¶
Types ¶
type GenericBackend ¶
type GenericBackend struct { TokenChaincodePath string TokenChaincodeParamsReplaceSuffix string TokenPlatform common2.TokenPlatform }
func NewDefaultGenericBackend ¶
func NewDefaultGenericBackend(tokenPlatform common2.TokenPlatform) *GenericBackend
func NewGenericBackend ¶
func NewGenericBackend(tokenChaincodePath string, tokenChaincodeParamsReplaceSuffix string, tokenPlatform common2.TokenPlatform) *GenericBackend
func (*GenericBackend) Fabric ¶
func (p *GenericBackend) Fabric(tms *topology3.TMS) fabricPlatform
func (*GenericBackend) PrepareNamespace ¶
func (p *GenericBackend) PrepareNamespace(tms *topology3.TMS)
func (*GenericBackend) TokenChaincodeServerAddr ¶
func (p *GenericBackend) TokenChaincodeServerAddr(port uint16) string
func (*GenericBackend) UpdatePublicParams ¶
func (p *GenericBackend) UpdatePublicParams(tms *topology3.TMS, ppRaw []byte)
type TCC ¶
type TCC struct {
Chaincode *topology.ChannelChaincode
}
Click to show internal directories.
Click to hide internal directories.