Files
upstream-watermill/_examples/real-world-examples/consumer-groups/common/events.go
2026-09-15 21:27:46 +05:00

19 lines
362 B
Go

package common
type UserSignedUp struct {
UserID string `json:"id"`
Consents Consents `json:"consents"`
}
type Consents struct {
Marketing bool `json:"marketing"`
News bool `json:"news"`
}
type MessageReceived struct {
ID string `json:"id"`
Service string `json:"service"`
Handler string `json:"handler"`
Topic string `json:"topic"`
}