Documentation ¶
Index ¶
Constants ¶
View Source
const ( STDIO = "stdio" PS1 = "PS1" PS2 = "PS2" )
View Source
const ( SCRIPT = "script" SOURCE = "source" TARGET = "target" PROMPT = "prompt" PRINTF = "printf" SCREEN = "screen" RETURN = "return" )
View Source
const SSH = "ssh"
Variables ¶
View Source
var Index = &ice.Context{Name: SSH, Help: "终端模块", Commands: map[string]*ice.Command{ ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Load() }}, ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { if f, ok := m.Target().Server().(*Frame); ok { f.close() } m.Save() }}, }}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.