InboxHandler is responsible for dispatching notification messages to the Coder Inbox.
| 23 | |
| 24 | // InboxHandler is responsible for dispatching notification messages to the Coder Inbox. |
| 25 | type InboxHandler struct { |
| 26 | log slog.Logger |
| 27 | store InboxStore |
| 28 | pubsub pubsub.Pubsub |
| 29 | } |
| 30 | |
| 31 | func NewInboxHandler(log slog.Logger, store InboxStore, ps pubsub.Pubsub) *InboxHandler { |
| 32 | return &InboxHandler{log: log, store: store, pubsub: ps} |
nothing calls this directly
no outgoing calls
no test coverage detected