go-idempotency
Anyone building HTTP APIs in Go, including commercial products. It suits APIs that take payments, create orders or run any other operation that must not happen twice. MIT licence, so use, modification and redistribution are allowed.
View ndoubismarck/go-idempotency on GitHub- GitHub stars
- —
- Forks
- —
Project details
- Repository
- ndoubismarck/go-idempotency
- Licence
- MIT
- Catalog status
- Available
- Catalog check
- 2026-12-06
- Required costs
- Go 1.22+. The in-memory store needs nothing else and costs nothing. For several servers sharing state, you need your own Redis or PostgreSQL instance, which can be self-hosted or managed. Those are optional, and any hosting cost is whatever you already pay for them. No paid APIs, no hardware.
Repository description
Idempotency-Key middleware for Go HTTP APIs. Makes HTTP requests safe to retry: runs the handler once per key and replays the stored response. Works with net/http, Gin and Echo. Memory, Redis and PostgreSQL stores. Zero dependencies in the core.
Explore by topic
More tools in Apps & utilities
- spec-kit
github · MIT
GitHub own open-source toolkit for Spec-Driven Development: you write a clear spec first, and any AI coding agent builds the implementation from it.
- nanochat
karpathy · MIT
nanochat is Andrej Karpathy full, minimal recipe to train and chat with your own ChatGPT-style model for about $100 in compute.
- kronos
shiyu-coder · MIT
An open-source AI foundation model trained specifically to model and predict patterns in financial market data.
- financial-services
anthropics · Apache-2.0
Anthropic open-sourced a set of Claude agents that draft real finance work: investment memos, research notes, reconciliations, for a human to review and sign off on.
