Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventPayloadIs ¶
func EventPayloadIs(event *peer.ChaincodeEvent, target interface{}) interface{}
func PayloadIs ¶
PayloadIs expects peer.Response payload can be marshalled to target interface{} and returns converted value
func ResponseError ¶
ResponseError expects peer.Response has shim.ERROR status and message has errorSubstr prefix
func ResponseOk ¶
ResponseOk expects peer.Response has shim.OK status and message has okSubstr prefix
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.