Documentation
¶
Index ¶
- func RecvCommand(stream net.Conn) (string, error)
- func RecvError(stream net.Conn) error
- func RecvMessage(stream net.Conn, msg any) error
- func SendCommand(stream net.Conn, command string) error
- func SendError(stream net.Conn, err error)
- func SendMessage(stream net.Conn, msg any) error
- func SendSuccess(stream net.Conn) error
- func TsshdMain() int
- type AcceptMessage
- type AgentRequest
- type BusMessage
- type ChannelMessage
- type Client
- type DialMessage
- type ErrorMessage
- type ExitMessage
- type ListenMessage
- type ResizeMessage
- type ServerInfo
- type StartMessage
- type StderrMessage
- type X11Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSuccess ¶
Types ¶
type AcceptMessage ¶
type AcceptMessage struct {
ID uint64
}
type AgentRequest ¶
type AgentRequest struct {
ChannelType string
}
type BusMessage ¶
type ChannelMessage ¶
type ErrorMessage ¶
type ErrorMessage struct {
Msg string
}
type ExitMessage ¶
type ListenMessage ¶
type ResizeMessage ¶
type ServerInfo ¶
type StartMessage ¶
type StderrMessage ¶
type StderrMessage struct {
ID uint64
}
Click to show internal directories.
Click to hide internal directories.