Help us shape the future of Go! Take the 2026 Go Developer Survey

fleet

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package fleet implements the xtop fleet hub — the central server that agents report to. It accepts heartbeats and incidents over HTTP(S), stores them in Postgres (primary) and SQLite (hot cache), and serves the UI (TUI + web).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

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

Hub is the central aggregator server.

func NewHub

func NewHub(cfg model.FleetHubConfig) (*Hub, error)

NewHub creates a new hub with the given configuration.

func (*Hub) Start

func (h *Hub) Start() error

Start begins listening. Blocks until Stop is called or the listener errors.

func (*Hub) Stop

func (h *Hub) Stop()

Stop shuts down the hub.

Jump to

Keyboard shortcuts

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