waiter

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQLDriverName = "postgres"
)

Variables

View Source
var (
	ErrConnection = errors.New("connection error")
)

Functions

func Wait

func Wait(url url.URL, retryDelay time.Duration, retryLimit int) error

Types

type Waiter

type Waiter interface {
	Wait(url url.URL, retryDelay time.Duration, retryLimit int) error
}

func NewHTTPWaiter

func NewHTTPWaiter() Waiter

func NewKafkaWaiter added in v0.1.4

func NewKafkaWaiter() Waiter

func NewPostgresWaiter

func NewPostgresWaiter() Waiter

func NewTCPWaiter

func NewTCPWaiter() Waiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL