Documentation
¶
Overview ¶
Package operation provides transaction-scoped idempotency receipts. A caller holds its domain lock before reading or storing a receipt; retries return the original result, and reusing a key with different input is rejected.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyRequired = errors.New("request_id must contain 1–128 non-whitespace characters")
View Source
var ErrKeyReuse = errors.New("request_id was already used with different parameters")
Functions ¶
func ValidateKey ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.