Add Payload interface and serialize it

Review Request #10018 — Created June 12, 2018 and updated

brennie
rb-gateway
master
10014
10021
a3110ff...
rb-gateway

The Payload interface is a generic type that represents the payload of
an event. Since events will have different payloads, we allow them to
define the majority of what they contain and we serialize them
intelligently.

Ran go fmt ./....
Ran go test ./....

brennie
Review request changed

Change Summary:

tag -> tags
bookmark -> bookmarks

Commit:

-c015552d4298d06d14ec2385d1ad6d52c69de5c6
+a3110ffd64b468b7b750aa88f3da6d8352c92a30

Diff:

Revision 2 (+189)

Show changes

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
Loading...