From a5f26a8999f74c1a665c34841c08a6b111961402 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Tue, 12 Jan 2016 18:09:55 -0500 Subject: [PATCH] EventResult --- events.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/events.go b/events.go index 24c53c5d5..ce7391118 100644 --- a/events.go +++ b/events.go @@ -12,6 +12,11 @@ type EventData interface { AssertIsEventData() } +type EventResult struct { + Event string `json:"event"` + Data EventData `json:"data"` +} + // reactors and other modules should export // this interface to become eventable type Eventable interface {