Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedResponse ¶
type CachedResponse struct {
Code int
Body json.RawMessage
}
type IdempotencyKey ¶
type IdempotencyKey struct {
ID string
IdempotencyKey string
NewStatus IdempotencyKeyNewStatus
FinishedStatus IdempotencyKeyFinishedStatus
LockedStatus IdempotencyKeyLockedStatus
LastRunAt time.Time
LockOwner *string
CachedResponse *CachedResponse
}
A representation of an idempotency key that may be used by any other service to track the status of an idempotent request.
type IdempotencyKeyFinishedStatus ¶
type IdempotencyKeyFinishedStatus string
const ( IdempotencyKeyFinishedStatusIncomplete IdempotencyKeyFinishedStatus = "incomplete" IdempotencyKeyFinishedStatusFinished IdempotencyKeyFinishedStatus = "finished" )
type IdempotencyKeyLockedStatus ¶
type IdempotencyKeyLockedStatus string
const ( IdempotencyKeyLockedStatusUnlocked IdempotencyKeyLockedStatus = "unlocked" IdempotencyKeyLockedStatusLocked IdempotencyKeyLockedStatus = "locked" )
type IdempotencyKeyNewStatus ¶
type IdempotencyKeyNewStatus string
const ( IdempotencyKeyNewStatusExisting IdempotencyKeyNewStatus = "existing" IdempotencyKeyNewStatusNew IdempotencyKeyNewStatus = "new" )
type RecoveryPoint ¶
type RecoveryPoint string
const ( RecoveryPointStarted RecoveryPoint = "started" RecoveryPointFinished RecoveryPoint = "finished" )
func (RecoveryPoint) String ¶
func (r RecoveryPoint) String() string
Click to show internal directories.
Click to hide internal directories.