add arg to NetIOCounters but not implemented yet.

This commit is contained in:
Shirou WAKAYAMA 2014-04-30 16:28:06 +09:00
parent d8b87abfaf
commit 218eebabc8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import (
"strings"
)
func NetIOCounters() ([]NetIOCountersStat, error) {
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {
filename := "/proc/net/dev"
lines, err := readLines(filename)
if err != nil {