MCPcopy Index your code
hub / github.com/coder/coder / InboxHandler

Struct InboxHandler

coderd/notifications/dispatch/inbox.go:25–29  ·  view source on GitHub ↗

InboxHandler is responsible for dispatching notification messages to the Coder Inbox.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected