gohttpclient

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonFromUrlWithBearerAuth added in v0.1.0

func GetJsonFromUrlWithBearerAuth(url string, token string, caCert []byte, l golog.MyLogger, defaultReadTimeout time.Duration) (string, error)

func WaitForHttpServer

func WaitForHttpServer(url string, waitDuration time.Duration, numRetries int)

WaitForHttpServer attempts to establish a http TCP connection to listenAddress in a given amount of time. It returns upon a successful connection; otherwise exits with an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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