Documentation
¶
Index ¶
- Constants
- Variables
- func AttachToPipe(conn *qsocket.QSocket, opts *config.Options) error
- func AttachToSocket(conn *qsocket.QSocket, interactive bool) error
- func Connect(opts *config.Options) error
- func CreateOnConnectPipe(qs *qsocket.QSocket, addr string) error
- func ExecCommand(conn *qsocket.QSocket, specs *SessionSpecs) error
- func GetPeerTag(opts *config.Options) qsocket.SocketType
- func ProbeQSRN(opts *config.Options) error
- func SendSessionSpecs(qs *qsocket.QSocket, opts *config.Options) error
- func ServeToLocal(qs *qsocket.QSocket, opts *config.Options)
- type SessionSpecs
- type Winsize
Constants ¶
View Source
const SHELL = "/bin/bash -il"
Variables ¶
View Source
var ( PtyHeight int = 39 PtyWidth int = 157 )
Functions ¶
func ExecCommand ¶
func ExecCommand(conn *qsocket.QSocket, specs *SessionSpecs) error
func GetPeerTag ¶
func GetPeerTag(opts *config.Options) qsocket.SocketType
func SendSessionSpecs ¶
Types ¶
type SessionSpecs ¶
func RecvSessionSpecs ¶
func RecvSessionSpecs(qs *qsocket.QSocket, opts *config.Options) (*SessionSpecs, error)
Click to show internal directories.
Click to hide internal directories.