traefik/integration/vendor/github.com/docker/go-connections/sockets/sockets_windows.go

14 lines
235 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
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)
}