API Reference One and Done v0.1.1
modules
Modules
OneAndDone makes it easy to introduce idempotency in any Elixir application.
Defines the most basic cache interface.
Raised when a cache is not configured. Check the docs for the OneAndDone module
you are using (e.g. OneAndDone.Plug
) for details on how to configure a cache.
Easy to use plug for idempoent requests.
A basic module for capturing the essence of a response.
Protocol for turning an inbound connection (e.g. a Plug.Conn) into a OneAndDone.Response.
Telemetry integration to track how long it takes to process a request.
Additional metadata to include at the end of a span.