Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleSysCC ¶
type SampleSysCC struct { }
SampleSysCC example simple Chaincode implementation
func (*SampleSysCC) Init ¶
func (t *SampleSysCC) Init(stub shim.ChaincodeStubInterface) pb.Response
Init initializes the sample system chaincode by storing the key and value arguments passed in as parameters
func (*SampleSysCC) Invoke ¶
func (t *SampleSysCC) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Invoke gets the supplied key and if it exists, updates the key with the newly supplied value.
Click to show internal directories.
Click to hide internal directories.