backendmonitoring

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package backendmonitoring provides backendmonitoring functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg config.File, logger *slog.Logger, ticker *time.Ticker)

Run executes the backend server monitoring loop until ctx is canceled. On configuration errors the loop does not run (best-effort), but the process continues.

func RunWithTickerInterval

func RunWithTickerInterval(ctx context.Context, cfg config.File, logger *slog.Logger, ticker *time.Ticker, tickerInterval time.Duration)

RunWithTickerInterval executes the backend server monitoring loop using tickerInterval as the connect-interval fallback.

Types

This section is empty.

Jump to

Keyboard shortcuts

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