event bus

This commit is contained in:
mlogclub
2026-04-20 22:58:54 +08:00
parent 59de41da8a
commit 964b2ed6ce
4 changed files with 260 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package eventbus
type UserCreated struct {
UserID int64
Name string
}
type OrderCreated struct {
OrderID int64
UserID int64
Amount int64
}