Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Driver is the Token-SDK driver to use Driver string // OutputDir is the directory to output the generated files OutputDir string // GenerateCCPackage indicates whether to generate the chaincode package GenerateCCPackage bool // Issuers is the list of issuer MSP directories containing the corresponding issuer certificate Issuers []string // Auditors is the list of auditor MSP directories containing the corresponding auditor certificate Auditors []string )
Functions ¶
func Gen ¶
func Gen(args *GeneratorArgs) ([]byte, error)
Gen generates the public parameters for the FabToken driver
Types ¶
type GeneratorArgs ¶
type GeneratorArgs struct { // OutputDir is the directory to output the generated files OutputDir string // GenerateCCPackage indicates whether to generate the chaincode package GenerateCCPackage bool // Issuers is the list of issuer MSP directories containing the corresponding issuer certificate Issuers []string // Auditors is the list of auditor MSP directories containing the corresponding auditor certificate Auditors []string }
Click to show internal directories.
Click to hide internal directories.