Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resumer ¶
type Resumer struct {
// contains filtered or unexported fields
}
Resumer is responsible for a periodical resuming of pending transactions.
func NewResumer ¶
func NewResumer(tr TransactionResumer) *Resumer
NewResumer periodically resumes pending transactions.
type TransactionResumer ¶
type TransactionResumer interface { // ResumeTransactions resumes all pending transactions. ResumeTransactions() error }
TransactionResumer defines the interface for types capable to resume transactions.
Click to show internal directories.
Click to hide internal directories.