Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(adapter Adapter, backoffStrategy retrystrategy.RetryStrategy, maxRetries int) error
Types ¶
type MockAdapter ¶
func NewMockAdapter ¶
func NewMockAdapter() *MockAdapter
func (*MockAdapter) Connect ¶
func (m *MockAdapter) Connect() error
func (*MockAdapter) ConnectErr ¶
func (m *MockAdapter) ConnectErr(err string)
func (*MockAdapter) Reset ¶
func (m *MockAdapter) Reset()
Click to show internal directories.
Click to hide internal directories.