moby/integration-cli/npipe_windows.go
John Howard 08b65e7dd3 Windows CI: Allow npipe protocol for sock requests
Signed-off-by: John Howard <jhoward@microsoft.com>
2016-03-02 14:22:51 -08:00

12 lines
187 B
Go

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