mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			273 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			273 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//go:build !windows
 | 
						|
// +build !windows
 | 
						|
 | 
						|
package remote
 | 
						|
 | 
						|
import (
 | 
						|
	"context"
 | 
						|
	"net"
 | 
						|
)
 | 
						|
 | 
						|
func DialContext(ctx context.Context, network string, addr string) (net.Conn, error) {
 | 
						|
	dialer := &net.Dialer{}
 | 
						|
 | 
						|
	conn, err := dialer.DialContext(ctx, network, addr)
 | 
						|
 | 
						|
	return conn, err
 | 
						|
}
 |