Files
online-backend/pkg/sysstats/sysstats_other.go
GuwandykA e5f01d0e94
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
add docker
2026-10-23 00:39:04 +05:00

16 lines
462 B
Go

//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 }