github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/testutil/request/npipe_windows.go (about)

     1  package request
     2  
     3  import (
     4  	"net"
     5  	"time"
     6  
     7  	winio "github.com/Microsoft/go-winio"
     8  )
     9  
    10  func npipeDial(path string, timeout time.Duration) (net.Conn, error) {
    11  	return winio.DialPipe(path, &timeout)
    12  }