service

package
v0.0.0-...-0d40728 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUp

func IsUp(test Heartbeat) bool

IsUp checks if the service is available.

func WaitForService

func WaitForService(serviceName string, config *env.Config, test Heartbeat) error

WaitForService waits for the service to become available.

Types

type Heartbeat

type Heartbeat func() bool

Heartbeat of a service.

Jump to

Keyboard shortcuts

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