monitoring

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBackendConnection

func CheckBackendConnection(ipAddress string, port int, haproxyV2 bool, useTLS bool) error

CheckBackendConnection checks the availability of a backend server by trying to establish a TCP connection with the specified IP address and port. It returns an error if the connection cannot be established within the timeout period. The function does not retry the connection and closes the connection before returning.

Types

This section is empty.

Jump to

Keyboard shortcuts

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