Help us shape the future of Go! Take the 2026 Go Developer Survey

pkg/

directory
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT, Apache-2.0, MIT

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.

Jump to

Keyboard shortcuts

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