Documentation
¶
Index ¶
- func DeleteLedger(stub shim.ChaincodeStubInterface, objectType string, args []string) error
- func GetStateByPartialCompositeKeys(stub shim.ChaincodeStubInterface, objectType string, args []string) ([][]byte, error)
- func QueryLedger(stub shim.ChaincodeStubInterface, objectType string, args []string) ([][]byte, error)
- func RandSeq(n int) string
- func WriteLedger(obj interface{}, stub shim.ChaincodeStubInterface, objectType string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLedger ¶
func DeleteLedger(stub shim.ChaincodeStubInterface, objectType string, args []string) error
func GetStateByPartialCompositeKeys ¶
func GetStateByPartialCompositeKeys(stub shim.ChaincodeStubInterface, objectType string, args []string) ([][]byte, error)
模糊查询
func QueryLedger ¶
func QueryLedger(stub shim.ChaincodeStubInterface, objectType string, args []string) ([][]byte, error)
指定查询
func WriteLedger ¶
func WriteLedger(obj interface{}, stub shim.ChaincodeStubInterface, objectType string, args []string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.