mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-04 15:49:49 +00:00
12 lines
153 B
Go
12 lines
153 B
Go
package main
|
|
|
|
import (
|
|
"net"
|
|
|
|
"github.com/Microsoft/go-winio"
|
|
)
|
|
|
|
func Dial() (net.Conn, error) {
|
|
return winio.DialPipe(`\\.\pipe\gopeed_host`, nil)
|
|
}
|