web

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TemplateError   = errors.New("template execution failed")
	DisconnectError = errors.New("client disconnected")
)

Functions

func Handle

func Handle(appCtx context.Context, cfg *config.Config, webHandler, alertmanagerApi http.Handler)

Types

type WebHandler

type WebHandler struct {
	// contains filtered or unexported fields
}

func NewWebHandler added in v1.10.0

func NewWebHandler(cfg *config.Config, aggregator *aggregation.Aggregator) *WebHandler

func (*WebHandler) ServeHTTP added in v1.10.0

func (h *WebHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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