1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/internal/test/request/npipe_windows.go
Vincent Demeester 42f6fdf059
Move integration-cli/request to internal/test/request…
… and change a bit the method signature

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-04-17 16:25:59 +02:00

12 lines
190 B
Go

package request
import (
"net"
"time"
"github.com/Microsoft/go-winio"
)
func npipeDial(path string, timeout time.Duration) (net.Conn, error) {
return winio.DialPipe(path, &timeout)
}