1
0
mirror of https://github.com/rancher/os.git synced 2025-07-07 11:58:38 +00:00
os/vendor/github.com/docker/go-connections/sockets/sockets_windows.go
2016-05-23 17:22:40 -07:00

14 lines
235 B
Go

package sockets
import (
"net"
"time"
"github.com/Microsoft/go-winio"
)
// DialPipe connects to a Windows named pipe.
func DialPipe(addr string, timeout time.Duration) (net.Conn, error) {
return winio.DialPipe(addr, &timeout)
}