internal/

directory
v0.0.0-...-5d187b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0

Directories

Path Synopsis
Package appcontext carries the identity of whoever made the current request.
Package appcontext carries the identity of whoever made the current request.
Package auth turns request headers into an authenticated caller.
Package auth turns request headers into an authenticated caller.
Package health serves the liveness and readiness probes.
Package health serves the liveness and readiness probes.
Package ledger holds the chart of accounts: what accounts exist, what they are called, and how they are created.
Package ledger holds the chart of accounts: what accounts exist, what they are called, and how they are created.
Package middleware populates request context and normalizes errors at the two edges OpenPay serves: the gRPC server and the grpc-gateway HTTP mux.
Package middleware populates request context and normalizes errors at the two edges OpenPay serves: the gRPC server and the grpc-gateway HTTP mux.
models
dao
Package opsmetrics publishes the operational gauges that dashboards and alerts are built on: payment success rate per provider, stuck payments, webhook backlog and lag, and hold leakage (plan.md Phase 10).
Package opsmetrics publishes the operational gauges that dashboards and alerts are built on: payment success rate per provider, stuck payments, webhook backlog and lag, and hold leakage (plan.md Phase 10).
Package order records purchases and settles them — from wallets, from a card, or both at once (split tender).
Package order records purchases and settles them — from wallets, from a card, or both at once (split tender).
Package outbox publishes domain events that were recorded alongside the changes that caused them (plan.md D5).
Package outbox publishes domain events that were recorded alongside the changes that caused them (plan.md D5).
Package payment collects money through PSPs and applies it: the state machine, the provider calls, webhook ingestion and the jobs that recover from missed webhooks.
Package payment collects money through PSPs and applies it: the state machine, the provider calls, webhook ingestion and the jobs that recover from missed webhooks.
Package provider is the boundary between OpenPay and the PSPs that actually move money.
Package provider is the boundary between OpenPay and the PSPs that actually move money.
mock
Package mock is a payment provider OpenPay controls completely.
Package mock is a payment provider OpenPay controls completely.
razorpay
Package razorpay is the Razorpay provider.
Package razorpay is the Razorpay provider.
Package ratelimit caps how fast each product backend may call OpenPay.
Package ratelimit caps how fast each product backend may call OpenPay.
Package recon proves that what a PSP says happened matches what our ledger says happened (plan.md phase 8).
Package recon proves that what a PSP says happened matches what our ledger says happened (plan.md phase 8).
Package telemetry wires OpenTelemetry: traces and metrics exported over OTLP.
Package telemetry wires OpenTelemetry: traces and metrics exported over OTLP.
Package testsupport gives integration tests outside the repository package a real database.
Package testsupport gives integration tests outside the repository package a real database.
Package wallet moves money in and out of customer wallets.
Package wallet moves money in and out of customer wallets.
Package withdrawal cashes withdrawable wallets out to a customer's bank account or UPI id (plan.md phase 9).
Package withdrawal cashes withdrawable wallets out to a customer's bank account or UPI id (plan.md phase 9).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL