moby/testutil/request/npipe.go
Sebastiaan van Stijn 686be57d0a
Update to Go 1.17.0, and gofmt with Go 1.17
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-24 23:33:27 +02:00

13 lines
208 B
Go

//go:build !windows
// +build !windows
package request
import (
"net"
"time"
)
func npipeDial(path string, timeout time.Duration) (net.Conn, error) {
panic("npipe protocol only supported on Windows")
}