web

package
v0.0.0-...-052ce05 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package web provides the web server for Argus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(cfg *config.Config, hub *v1.Hub) *mux.Router

NewRouter serves Prometheus metrics, WebSocket, and Node.js frontend at RoutePrefix.

func Run

func Run(ctx context.Context, cfg *config.Config) error

Run the web server.

Types

This section is empty.

Directories

Path Synopsis
api
types
Package types provides the types for the Argus API.
Package types provides the types for the Argus API.
v1
Package v1 provides the API for the webserver.
Package v1 provides the API for the webserver.
Package metric provides Prometheus metrics for the Argus service.
Package metric provides Prometheus metrics for the Argus service.
Package ui provides the embedded React files.
Package ui provides the embedded React files.

Jump to

Keyboard shortcuts

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