feat: add TCPClientInterface methods for setting timeouts on Linux and OSX in new tcp_wasm.go file
This commit is contained in:
12
pkg/interfaces/tcp_wasm.go
Normal file
12
pkg/interfaces/tcp_wasm.go
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user