File: sockets_unix.go

package info (click to toggle)
golang-github-docker-go-connections 0.2.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 216 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// +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
}