You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
49 lines
1.5 KiB
// +build !darwin,!linux,!freebsd,!openbsd,!windows |
|
|
|
package net |
|
|
|
import ( |
|
"context" |
|
|
|
"github.com/shirou/gopsutil/internal/common" |
|
) |
|
|
|
func IOCounters(pernic bool) ([]IOCountersStat, error) { |
|
return IOCountersWithContext(context.Background(), pernic) |
|
} |
|
|
|
func IOCountersWithContext(ctx context.Context, pernic bool) ([]IOCountersStat, error) { |
|
return []IOCountersStat{}, common.ErrNotImplementedError |
|
} |
|
|
|
func FilterCounters() ([]FilterStat, error) { |
|
return FilterCountersWithContext(context.Background()) |
|
} |
|
|
|
func FilterCountersWithContext(ctx context.Context) ([]FilterStat, error) { |
|
return []FilterStat{}, common.ErrNotImplementedError |
|
} |
|
|
|
func ProtoCounters(protocols []string) ([]ProtoCountersStat, error) { |
|
return ProtoCountersWithContext(context.Background(), protocols) |
|
} |
|
|
|
func ProtoCountersWithContext(ctx context.Context, protocols []string) ([]ProtoCountersStat, error) { |
|
return []ProtoCountersStat{}, common.ErrNotImplementedError |
|
} |
|
|
|
func Connections(kind string) ([]ConnectionStat, error) { |
|
return ConnectionsWithContext(context.Background(), kind) |
|
} |
|
|
|
func ConnectionsWithContext(ctx context.Context, kind string) ([]ConnectionStat, error) { |
|
return []ConnectionStat{}, common.ErrNotImplementedError |
|
} |
|
|
|
func ConnectionsMax(kind string, max int) ([]ConnectionStat, error) { |
|
return ConnectionsMaxWithContext(context.Background(), kind, max) |
|
} |
|
|
|
func ConnectionsMaxWithContext(ctx context.Context, kind string, max int) ([]ConnectionStat, error) { |
|
return []ConnectionStat{}, common.ErrNotImplementedError |
|
}
|
|
|