mirror of
https://github.com/portainer/portainer.git
synced 2025-07-20 05:49:40 +02:00
14 lines
179 B
Go
14 lines
179 B
Go
|
// +build windows
|
||
|
|
||
|
package websocket
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
|
||
|
"github.com/Microsoft/go-winio"
|
||
|
)
|
||
|
|
||
|
func createWinDial(host string) (net.Conn, error) {
|
||
|
return winio.DialPipe(host, nil)
|
||
|
}
|