mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
16 lines
438 B
Go
16 lines
438 B
Go
//go:build darwin && !cgo
|
|
|
|
package powerreport
|
|
|
|
func readSystemUsage() systemUsage {
|
|
panic("power report requires CGO on darwin, rebuild with CGO_ENABLED=1")
|
|
}
|
|
|
|
func readClocks() (absoluteTime int64, continuousTime int64) {
|
|
panic("power report requires CGO on darwin, rebuild with CGO_ENABLED=1")
|
|
}
|
|
|
|
func readInterfaceCounters() map[string]interfaceCounters {
|
|
panic("power report requires CGO on darwin, rebuild with CGO_ENABLED=1")
|
|
}
|