Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWSStdInOut ¶ added in v0.6.4
func NewWSStdInOut() wsInOut
Types ¶
type WebTTYPlugin ¶
type WebTTYPlugin struct {
// contains filtered or unexported fields
}
* * WEB终端: 本身不实现SSH协议, 而是通过控制一个外部进程(ttyd)来实现 * 相关资料: https://github.com/tsl0922/ttyd *
func NewWebTTYPlugin ¶
func NewWebTTYPlugin() *WebTTYPlugin
func (*WebTTYPlugin) Init ¶
func (tty *WebTTYPlugin) Init(config *ini.Section) error
func (*WebTTYPlugin) PluginMetaInfo ¶
func (hh *WebTTYPlugin) PluginMetaInfo() typex.XPluginMetaInfo
func (*WebTTYPlugin) Service ¶
func (tty *WebTTYPlugin) Service(arg typex.ServiceArg) typex.ServiceResult
func (*WebTTYPlugin) Start ¶
func (tty *WebTTYPlugin) Start(typex.RuleX) error
* * 这里拉起来一个 ttyd 进程,默认运行 bash *
func (*WebTTYPlugin) Stop ¶
func (tty *WebTTYPlugin) Stop() error
Click to show internal directories.
Click to hide internal directories.