mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -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)
|
||
|
}
|