From 59060d600215d31873bca9efdf01bb1db294def5 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Mon, 29 Dec 2025 23:00:48 -0600 Subject: [PATCH] feat: add TCPClientInterface methods for setting timeouts on Linux and OSX in new tcp_wasm.go file --- pkg/interfaces/tcp_wasm.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/interfaces/tcp_wasm.go diff --git a/pkg/interfaces/tcp_wasm.go b/pkg/interfaces/tcp_wasm.go new file mode 100644 index 0000000..f121e0f --- /dev/null +++ b/pkg/interfaces/tcp_wasm.go @@ -0,0 +1,12 @@ +//go:build js && wasm +// +build js,wasm + +package interfaces + +func (tc *TCPClientInterface) setTimeoutsLinux() error { + return nil +} + +func (tc *TCPClientInterface) setTimeoutsOSX() error { + return nil +}