2026-10-08 16:09:04 +08:00
|
|
|
//go:build windows
|
2026-02-02 10:14:13 +08:00
|
|
|
|
2026-10-08 16:09:04 +08:00
|
|
|
package core
|
2026-02-02 10:14:13 +08:00
|
|
|
|
|
|
|
|
import (
|
2026-09-05 20:09:28 +08:00
|
|
|
"net"
|
2026-02-02 10:14:13 +08:00
|
|
|
|
|
|
|
|
"github.com/Microsoft/go-winio"
|
|
|
|
|
)
|
|
|
|
|
|
2026-09-05 20:09:28 +08:00
|
|
|
func dial(path string) (net.Conn, error) {
|
2026-02-02 10:14:13 +08:00
|
|
|
return winio.DialPipe(path, nil)
|
|
|
|
|
}
|