outbox is the production Outbox backed by a pgxpool.
| 90 | |
| 91 | // outbox is the production Outbox backed by a pgxpool. |
| 92 | type outbox struct { |
| 93 | pool *pgxpool.Pool |
| 94 | flag FeatureFlag |
| 95 | } |
| 96 | |
| 97 | // NewOutbox constructs the Stripe-tier outbox writer. The FeatureFlag |
| 98 | // gates writes: when disabled, PublishTx is a no-op (returns nil with |
nothing calls this directly
no outgoing calls
no test coverage detected