Worked on event system, needs a little more work

This commit is contained in:
Torkel Ödegaard
2015-02-04 15:37:26 +01:00
parent a712f1a231
commit 3752379106
12 changed files with 186 additions and 87 deletions

8
pkg/events/events.go Normal file
View File

@@ -0,0 +1,8 @@
package events
// Events can be passed to external systems via for example AMPQ
// Treat these events as basically DTOs so changes has to be backward compatible
type AccountCreated struct {
Name string `json:"name"`
}