event bus
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package eventbus
|
||||
|
||||
type UserCreated struct {
|
||||
UserID int64
|
||||
Name string
|
||||
}
|
||||
|
||||
type OrderCreated struct {
|
||||
OrderID int64
|
||||
UserID int64
|
||||
Amount int64
|
||||
}
|
||||
Reference in New Issue
Block a user