Contents
Notification (inbox + manual/bulk send) bounded context.
Locations
| Layer | Path |
|---|---|
| Domain | internal/domain/notification/ |
| Application | internal/application/notification/ — start with service.go |
| HTTP | adapters/http/handler/notification_handler.go |
| GoUI | inbox: controller_account_users.go; send: controller_rbac_notifications.go |
| Persistence | notification_repository.go |
| Wiring | handlers wire_workers; notifService wire_user; HTTP/GoUI wire |
Application
| File | Role |
|---|---|
service.go |
Facade: List, MarkRead, UnreadCount, SendOne/Bulk… |
query.go / command.go |
Inbox CQRS |
bulk.go |
ManualSender |
| dispatcher-related | Channel delivery |
Note
The realtime hub may still use the UnreadCountHandler.Handle callback; transport calls Notifications.UnreadCount — same handler.