httpapi

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(deps ServerDeps) *http.Server

Types

type ServerDeps

type ServerDeps struct {
	Config  *config.Config
	Metrics *metrics.Metrics
	BGP     *bgp.Manager
	Policy  *policy.Manager
	// Schedulers holds one scheduler per check, keyed by VIP name.
	Schedulers map[string][]*checks.Scheduler
}

Jump to

Keyboard shortcuts

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