1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-20 05:49:40 +02:00
portainer/api/http/handler/websocket/websocket_exec_windows.go

14 lines
179 B
Go
Raw Normal View History

2018-07-20 12:02:06 +03:00
// +build windows
package websocket
import (
"net"
"github.com/Microsoft/go-winio"
)
func createWinDial(host string) (net.Conn, error) {
return winio.DialPipe(host, nil)
}