waitforit

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package waitforit provides libraries to block execution until services become available.

CREDIT: All code was taken from this awesome repo: https://github.com/maxcnunes/waitforit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForIt

func WaitForIt(fullConn, host string, port, timeout int) error

WaitForIt waits for a service or URL to become online

Types

type Connection

type Connection struct {
	Type   string
	Scheme string
	Port   int
	Host   string
	Path   string
}

Connection data

Jump to

Keyboard shortcuts

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