{"modulePath":"github.com/2lambda123/hyperledger-fabric","version":"v0.6.1-preview","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\n## Functions\n\n```go\nfunc RegisterSysCC(syscc *SystemChaincode) error\n```\nRegisterSysCC registers the given system chaincode with the peer\n\n## Types\n\n```go\ntype SystemChaincode struct {\n\t// Enabled a convenient switch to enable/disable system chaincode without\n\t// having to remove entry from importsysccs.go\n\tEnabled bool\n\n\t//Unique name of the system chaincode\n\tName string\n\n\t//Path to the system chaincode; currently not used\n\tPath string\n\n\t//InitArgs initialization arguments to startup the system chaincode\n\tInitArgs [][]byte\n\n\t// Chaincode is the actual chaincode object\n\tChaincode shim.Chaincode\n}\n```\nSystemChaincode defines the metadata needed to initialize system chaincode when the fabric comes up. SystemChaincodes are installed by adding an entry in importsysccs.go\n\n","path":"github.com/2lambda123/hyperledger-fabric/core/system_chaincode/api","name":"api","synopsis":"","isRedistributable":true}
