add docker
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
2026-10-23 00:39:04 +05:00
parent 965b00dba5
commit e5f01d0e94
16 changed files with 463 additions and 52 deletions

View File

@@ -0,0 +1,15 @@
//go:build !linux
package sysstats
import (
"context"
"time"
)
// Host CPU, memory, load and uptime are only read from /proc on Linux.
func cpuUsage(context.Context, time.Duration) (*float64, error) { return nil, nil }
func memory() *Memory { return nil }
func loadAvg() *[3]float64 { return nil }
func hostUptime() *int64 { return nil }