Versions in this module Expand all Collapse all v1 v1.0.1 Apr 24, 2020 Changes in this version + func NewiState(object interface{}, opt Options) (iStateInterface Interface, iStateErr Error) + type Error interface + Error func() string + GetCode func() int + type Interface interface + CreateState func(shim.ChaincodeStubInterface, interface{}) Error + DeleteState func(shim.ChaincodeStubInterface, interface{}) Error + Query func(shim.ChaincodeStubInterface, string, bool) (interface{}, Error) + ReadState func(shim.ChaincodeStubInterface, interface{}) (interface{}, Error) + UpdateState func(shim.ChaincodeStubInterface, interface{}) Error + type Options struct + CacheSize int + DefaultCompactionSize int