Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConflict = errors.New("conflict") ErrMismatch = errors.New("idempotency mismatch") ErrBodyMismatch = fmt.Errorf("request body mismatch: %w", ErrMismatch) ErrMethodMismatch = fmt.Errorf("HTTP method mismatch: %w", ErrMismatch) ErrURLMismatch = fmt.Errorf("URL mismatch: %w", ErrMismatch) ErrHeaderMismatch = fmt.Errorf("Header mismatch: %w", ErrMismatch) ErrInvalidKey = errors.New("invalid Idempotency-Key") )
Functions ¶
This section is empty.
Types ¶
type Potency ¶
type Potency struct {
// contains filtered or unexported fields
}
func NewPotency ¶
func (*Potency) SetLifetime ¶
Click to show internal directories.
Click to hide internal directories.