d8ae7178e2
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
15 lines
258 B
Go
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
|
|
}
|