EventResult

This commit is contained in:
Ethan Buchman
2016-01-12 18:35:42 -05:00
parent 089435d31b
commit a5f26a8999
+5
View File
@@ -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 {