Adds a RequestMeta context bridge so events dispatched during an HTTP request can be attributed to it: a middleware stashes IP/UA/request-id on the request context, the generic Do* handlers associate that context with the transaction key, and DispatchPending/DispatchWithContext copy the metadata onto the watermill message at publish time. Existing dispatch call sites are unchanged. |
||
|---|---|---|
| .. | ||
| core.go | ||
| create.go | ||
| delete.go | ||
| error.go | ||
| helper.go | ||
| read_all.go | ||
| read_one.go | ||
| update.go | ||