Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RetriableConnector ¶
type RetriableConnector struct { Connector func(Config) (*sqlx.DB, error) Sleeper sleeper RetryInterval time.Duration MaxRetries int }
func (*RetriableConnector) GetConnectionPool ¶
func (r *RetriableConnector) GetConnectionPool(dbConfig Config) (*sqlx.DB, error)
type RetriableError ¶
func (RetriableError) Error ¶
func (r RetriableError) Error() string
type SleeperFunc ¶
func (SleeperFunc) Sleep ¶
func (sf SleeperFunc) Sleep(duration time.Duration)
Click to show internal directories.
Click to hide internal directories.