* CloudEvents v0.2 support, step 1: interfaces and versioned types.
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
* Add support for v0.2 event types. (Breaking change in return types!)
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
* Move DataContentType() to be common across Senders and Receivers.
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
* Add comment on why test code is commented out.
Signed-off-by: Evan Anderson <evan.k.anderson@gmail.com>
* Address @vagababov review.
* Add another test case and better cover extensions in handler tests.
* Some fixes to the spoof.go and exporter.go
While reviewing some other CL, I saw some avenues for improving
spoof.go, to log the URL that's being fetched, which would help in test
debugging and to use switch construct, rather than nested if's.
While testing the change, I noticed some shifty loggin from the
exporter, so I fixed that as well while I was there.
* Continuation of the previous cleanups.
* Fix the issues with formatting by executing a grep
* and fix compilation error
* lowercase error
* fix the newly changed unit test