Files
2026-10-27 16:57:53 -06:00

16 lines
281 B
Go

//go:build !linux
package beach
import (
"os"
"runtime"
)
// CollectHost has no portable source off Linux; Beach is meant to run on the homelab box.
func CollectHost() Host {
h := Host{CPUs: runtime.NumCPU(), Disks: []Filesystem{}}
h.Hostname, _ = os.Hostname()
return h
}