github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/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  }