fix RTT for specific platforms

This commit is contained in:
2025-03-11 23:06:26 -05:00
parent 534982b99d
commit 041b439a66
3 changed files with 54 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
//go:build !linux
// +build !linux
package interfaces
import (
"time"
)
// platformGetRTT is defined in OS-specific files
// Default implementation for non-Linux platforms
func platformGetRTT(fd uintptr) time.Duration {
return 0
}