Documentation ¶
Index ¶
- type TestSyncChaincode
- func (t *TestSyncChaincode) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
- func (t *TestSyncChaincode) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
- func (t *TestSyncChaincode) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSyncChaincode ¶
type TestSyncChaincode struct { }
TestSyncChaincode example simple Chaincode implementation
func (*TestSyncChaincode) Init ¶
func (t *TestSyncChaincode) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
func (*TestSyncChaincode) Invoke ¶
func (t *TestSyncChaincode) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Transaction makes payment of X units from A to B
func (*TestSyncChaincode) Query ¶
func (t *TestSyncChaincode) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error)
Query callback representing the query of a chaincode
Click to show internal directories.
Click to hide internal directories.