Directories
¶
| Path | Synopsis |
|---|---|
|
Package client provides an HTTP client with automatic 402 Payment Required handling.
|
Package client provides an HTTP client with automatic 402 Payment Required handling. |
|
Package mpp implements the Machine Payments Protocol (MPP) types and header serialization for Go.
|
Package mpp implements the Machine Payments Protocol (MPP) types and header serialization for Go. |
|
Package server provides the generic challenge-or-verify flow for Payment authentication on the server side.
|
Package server provides the generic challenge-or-verify flow for Payment authentication on the server side. |
|
echo
Package echoadapter provides Echo middleware for MPP-protected routes.
|
Package echoadapter provides Echo middleware for MPP-protected routes. |
|
gin
Package ginadapter provides Gin middleware for MPP-protected routes.
|
Package ginadapter provides Gin middleware for MPP-protected routes. |
|
Package tempo contains the Tempo-specific charge method built on top of the generic pkg/client and pkg/server HTTP 402 flow, including request helpers, attribution utilities, and replay stores for single-process and Redis-backed deployments.
|
Package tempo contains the Tempo-specific charge method built on top of the generic pkg/client and pkg/server HTTP 402 flow, including request helpers, attribution utilities, and replay stores for single-process and Redis-backed deployments. |
|
client
Package chargeclient contains the Tempo charge client method for creating Payment Credentials that satisfy Tempo HTTP 402 Challenges.
|
Package chargeclient contains the Tempo charge client method for creating Payment Credentials that satisfy Tempo HTTP 402 Challenges. |
|
server
Package chargeserver contains the Tempo charge server method and verifier.
|
Package chargeserver contains the Tempo charge server method and verifier. |
Click to show internal directories.
Click to hide internal directories.