Added protocol.Result and reworked Event.SetData/Event.Data
Pre-release
Pre-release
This release includes two new important changes:
- Adding protocol.Result to Send and Request client interface (#425): Now you can use
cloudevents.IsACK(result)
/cloudevents.isNACK
to test the result ofClient.Send()
andClient.Request()
- Reworking datacodec package (#428): Now in v0.3 and v1.0 the
Data
field is consistent andEvent.SetData()
/Event.Data()
anddatacodec
now are decoupled from base64 encoding/decoding
Also included two crucial fixes: