Versions in this module Expand all Collapse all v1 v1.2.0 Feb 7, 2023 v1.1.1 Feb 7, 2023 Changes in this version + type Idempotence struct + func NewIdempotence(idempotenceStorage storage.IdempotenceStorage) *Idempotence + func (idempotence *Idempotence) CheckAndSetStatus(id string, status []string, newStatus string) bool + func (idempotence *Idempotence) CheckStatus(id string, status []string) bool + func (idempotence *Idempotence) Delete(idempotenceID id.IdempotenceID) bool + func (idempotence *Idempotence) SaveIfAbsent(idempotenceID id.IdempotenceID) bool + func (idempotence *Idempotence) SaveStatusAndExpireIfAbsent(id, status string, expire time.Duration) bool + func (idempotence *Idempotence) SaveStatusIfAbsent(id, status string) bool