serverutils

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineServiceURL

func DetermineServiceURL() *url.URL

DetermineServiceURL returns the url, if properly configured.

func EnsureServerIsUp

func EnsureServerIsUp(ctx context.Context, address string)

EnsureServerIsUp checks that a server is up and doesn't return until it's certain one way or the other.

func IsUp

func IsUp(ctx context.Context, address string) bool

IsUp can check if an instance of our server is alive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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