mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-12-06 21:11:50 +08:00
fix: make resource metrics platform aware
This commit is contained in:
1 parent
08cf862b0c
commit
bf2ef120da
7 files changed
+124
-120
No files matched your search
@@ -0,0 +1,9 @@
|
||||
//go:build !linux
|
||||
|
||||
package server
|
||||
|
||||
import "time"
|
||||
|
||||
func systemMetricsSnapshot(_ *Server) systemMetricsResponse {
|
||||
return systemMetricsResponse{Scope: "unsupported", Supported: false, Timestamp: time.Now().UTC()}
|
||||
}
|
||||
Reference in new issue
Block a user