mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 00:31:02 -04:00
13 lines
190 B
Go
13 lines
190 B
Go
|
package request
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
"time"
|
||
|
|
||
|
"github.com/Microsoft/go-winio"
|
||
|
)
|
||
|
|
||
|
func npipeDial(path string, timeout time.Duration) (net.Conn, error) {
|
||
|
return winio.DialPipe(path, &timeout)
|
||
|
}
|