readiness

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package readiness waits for an HTTP service to accept requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitHTTP

func WaitHTTP(ctx context.Context, url string, timeout time.Duration) error

WaitHTTP polls url until it answers with any HTTP status. A published container port accepts TCP connections before the app listens (Docker's userland proxy), so a TCP check is not enough.

Types

This section is empty.

Jump to

Keyboard shortcuts

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