mirror of
https://github.com/fosrl/newt.git
synced 2026-07-11 13:40:01 -05:00
17 lines
373 B
Go
17 lines
373 B
Go
//go:build windows
|
|
|
|
package browsergateway
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
|
|
"github.com/coder/websocket"
|
|
"github.com/fosrl/newt/nativessh"
|
|
)
|
|
|
|
// serveNativeSSHSession is not supported on Windows.
|
|
func serveNativeSSHSession(_ context.Context, _ *websocket.Conn, _ string, _ *nativessh.CredentialStore) error {
|
|
return errors.New("native SSH is not supported on Windows")
|
|
}
|