feat: initial goget release — modern IPv6-first download utility
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package transport
|
||||
|
||||
import (
|
||||
"net"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
// bindToInterface returns nil on non-Linux platforms
|
||||
// since SO_BINDTODEVICE is a Linux-specific socket option.
|
||||
func bindToInterface(_ string) func(string, string, syscall.RawConn) error { return nil }
|
||||
|
||||
var _ net.Conn
|
||||
Reference in New Issue
Block a user