netstat

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package netstat reports per-host network reachability for the `net` verb, ported from facade.network_status. Read-only: a fast TCP probe per manifest host, with a VPN-aware status message.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostNet

type HostNet struct {
	Profile string
	Alias   string
	Status  netcheck.NetStatus
}

HostNet is one host's reachability (mirrors facade.HostNet).

func Status

func Status(m *manifest.Manifest, selector string) ([]HostNet, error)

Status returns reachability for every manifest host, filtered by selector: an alias, a profile, a "profile/key" reference, or a bare key name.

A bare key name matches in every profile that has one, and says so by reporting the profile on each row. Key names are unique per profile, not globally, so "imani_github-ed25519" is a legitimate name in several of them - the composite form is there for when you mean exactly one.

Jump to

Keyboard shortcuts

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