github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/testutil/request/npipe.go (about)

     1  //go:build !windows
     2  
     3  package request
     4  
     5  import (
     6  	"net"
     7  	"time"
     8  )
     9  
    10  func npipeDial(path string, timeout time.Duration) (net.Conn, error) {
    11  	panic("npipe protocol only supported on Windows")
    12  }