portainer/api/http/handler/websocket/websocket_exec_windows.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)
}