mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-27 01:07:10 +00:00
chore: remove depend of gopsutil
This commit is contained in:
8
component/memory/memory.go
Normal file
8
component/memory/memory.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Package memory return MemoryInfoStat
|
||||
// modify from https://github.com/shirou/gopsutil/tree/v4.25.1/process
|
||||
package memory
|
||||
|
||||
type MemoryInfoStat struct {
|
||||
RSS uint64 `json:"rss"` // bytes
|
||||
VMS uint64 `json:"vms"` // bytes
|
||||
}
|
||||
Reference in New Issue
Block a user