mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
13 lines
235 B
Go
13 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)
|
|
}
|