mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
feat(api): Add npipe support (#2018)
This commit is contained in:
parent
0368c4e937
commit
4129550d44
17 changed files with 133 additions and 43 deletions
13
api/http/handler/websocket/websocket_exec_windows.go
Normal file
13
api/http/handler/websocket/websocket_exec_windows.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
// +build windows
|
||||
|
||||
package websocket
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/Microsoft/go-winio"
|
||||
)
|
||||
|
||||
func createWinDial(host string) (net.Conn, error) {
|
||||
return winio.DialPipe(host, nil)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue