Initial Beach: homelab control panel

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-10-27 16:57:53 -06:00
commit 6938da4d7a
18 files changed
+2071

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
//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
}