Documentation ¶
Overview ¶
Package sdk_life_cycle contains wrappers needed for SDK functionalities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorWrapper ¶
func ErrorWrapper(stub cached_stub.CachedStubInterface, err string) pb.Response
ErrorWrapper is a wrapper for shim.Error
func GetResult ¶
func GetResult(stub cached_stub.CachedStubInterface, function string, returnBytes []byte, returnError error) pb.Response
GetResult is a convenience function for SuccessWrapper and ErrorWrapper
func SuccessWrapper ¶
func SuccessWrapper(stub cached_stub.CachedStubInterface, payload []byte) pb.Response
SuccessWrapper is a wrapper for shim.Success
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.