Minimalist & Powerful
GoPotency follows a “Zero-Friction” approach. Integrate idempotency in your Gin or Standard HTTP APIs with just 3 lines of code.
Minimalist & Powerful
GoPotency follows a “Zero-Friction” approach. Integrate idempotency in your Gin or Standard HTTP APIs with just 3 lines of code.
Absolute Reliability
Built for high-concurrency environments with atomic locking, ensuring that no request is ever processed twice, regardless of network failures.
Implement the middleware to your router is easy.
// Apply the middleware to your routerrouter.Use(ginmw.Idempotency(manager))
// Your existing handlers are now automatically protectedrouter.POST("/payments", handlePayment)Framework Agnostic
Works with Gin, Echo, Fiber, or standard net/http. No vendor lock-in.
Elastic Storage
Start with In-Memory and scale to Redis or SQL backends with a simple config change.
Request Hashing
Detect if a client reuses a key for a different payload automatically.
Open & Transparent
100% Open Source under the MIT license. Audit the code, contribute, and grow with us.