(dur time.Duration)
| 56 | type AcquirerOption func(*Acquirer) |
| 57 | |
| 58 | func TestingBackupPollDuration(dur time.Duration) AcquirerOption { |
| 59 | return func(a *Acquirer) { |
| 60 | a.backupPollDuration = dur |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | // AcquirerStore is the subset of database.Store that the Acquirer needs |
| 65 | type AcquirerStore interface { |
no outgoing calls
no test coverage detected