More work on events, still have to convert pascal case event type name to rabbitmq dot notation, but after that should be done

This commit is contained in:
Torkel Ödegaard
2015-02-04 17:15:05 +01:00
parent 525179eb85
commit d8db5189c1
6 changed files with 48 additions and 47 deletions
+16
View File
@@ -61,3 +61,19 @@ type AccountUpdated struct {
Id int64 `json:"id"`
Name string `json:"name"`
}
type UserCreated struct {
Timestamp time.Time `json:"timestamp"`
Id int64 `json:"id"`
Name string `json:"name"`
Login string `json:"login"`
Email string `json:"email"`
}
type UserUpdated struct {
Timestamp time.Time `json:"timestamp"`
Id int64 `json:"id"`
Name string `json:"name"`
Login string `json:"login"`
Email string `json:"email"`
}