mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
chore: remove depend of gopsutil
This commit is contained in:
11
component/memory/memory_falllback.go
Normal file
11
component/memory/memory_falllback.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !darwin && !linux && !freebsd && !openbsd && !windows
|
||||
|
||||
package memory
|
||||
|
||||
import "errors"
|
||||
|
||||
var ErrNotImplementedError = errors.New("not implemented yet")
|
||||
|
||||
func GetMemoryInfo(pid int32) (*MemoryInfoStat, error) {
|
||||
return nil, ErrNotImplementedError
|
||||
}
|
||||
Reference in New Issue
Block a user