ssh

package
v1.9.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FRAME = "frame"
	SHELL = "shell"
	STDIO = "stdio"
	PS1   = "PS1"
	PS2   = "PS2"
)
View Source
const (
	SOURCE = "source"
	RETURN = "return"
	TARGET = "target"
	PROMPT = "prompt"
	PRINTF = "printf"
)
View Source
const SSH = "ssh"

Variables

View Source
var Index = &ice.Context{Name: SSH, Help: "终端模块"}

Functions

func PrintQRCode added in v1.5.5

func PrintQRCode(m *ice.Message, url string)

func Render

func Render(m *ice.Message, cmd string, arg ...ice.Any) (res string)

Types

type Frame

type Frame struct {
	// contains filtered or unexported fields
}

func (*Frame) Begin

func (f *Frame) Begin(m *ice.Message, arg ...string)

func (*Frame) Close

func (f *Frame) Close(m *ice.Message, arg ...string)

func (*Frame) Spawn

func (f *Frame) Spawn(m *ice.Message, c *ice.Context, arg ...string) ice.Server

func (*Frame) Start

func (f *Frame) Start(m *ice.Message, arg ...string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL