summaryrefslogtreecommitdiff
path: root/extendedstats/other.go
diff options
context:
space:
mode:
Diffstat (limited to 'extendedstats/other.go')
-rw-r--r--extendedstats/other.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/extendedstats/other.go b/extendedstats/other.go
new file mode 100644
index 0000000..c0f89ed
--- /dev/null
+++ b/extendedstats/other.go
@@ -0,0 +1,22 @@
+//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd
+// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
+
+package extendedstats
+
+import (
+ "net"
+
+ "golang.org/x/sys/unix"
+)
+
+type ExtendedStats struct{}
+
+func (es *ExtendedStats) IncorporateConnectionStats(conn net.Conn) {}
+
+func (es *ExtendedStats) Repr() string {
+ return ""
+}
+
+func ExtendedStatsAvailable() bool {
+ return false
+}