traefik/vendor/github.com/docker/go-connections/sockets/sockets_unix.go
2017-03-09 13:13:02 +01:00

15 lines
258 B
Go

// +build !windows
package sockets
import (
"net"
"syscall"
"time"
)
// DialPipe connects to a Windows named pipe.
// This is not supported on other OSes.
func DialPipe(_ string, _ time.Duration) (net.Conn, error) {
return nil, syscall.EAFNOSUPPORT
}