mirror of
https://github.com/MengMengCode/VoCat.git
synced 2026-08-14 11:53:42 +08:00
12 lines
305 B
Go
12 lines
305 B
Go
//go:build !linux
|
|
|
|
package server
|
|
|
|
import "fmt"
|
|
|
|
// netIfCounters is only meaningful on the Linux deployment target; elsewhere
|
|
// there is no cellular /sys interface to read.
|
|
func netIfCounters(string) (uint64, uint64, error) {
|
|
return 0, 0, fmt.Errorf("interface counters are only available on Linux")
|
|
}
|