Documentation ¶
Index ¶
- func Init()
- type Conn
- type Element
- func (element *Element) Attach(conn Conn, username string, shellid int64, cols, rows uint16, newshell bool) (s *Shell, e error)
- func (element *Element) Kill(shellid int64) (e error)
- func (element *Element) Rename(shellid int64, name string) (e error)
- func (element *Element) Unattach(shellid int64) (ok bool)
- type ListInfo
- type Manager
- func (m *Manager) Attach(conn Conn, username string, shellid int64, cols, rows uint16, newshell bool) (s *Shell, e error)
- func (m *Manager) Kill(username string, shellid int64) (e error)
- func (m *Manager) List(username string) (arrs []ListInfo)
- func (m *Manager) Rename(username string, shellid int64, name string) (e error)
- func (m *Manager) Unattach(username string, shellid int64) (e error)
- type Shell
- func (s *Shell) Attack(conn Conn, cols, rows uint16) (e error)
- func (s *Shell) IsAttack() (yes bool)
- func (s *Shell) Kill()
- func (s *Shell) Rename(name string)
- func (s *Shell) Run(conn Conn, cols, rows uint16) (e error)
- func (s *Shell) SetFontFamily(val string) (e error)
- func (s *Shell) SetFontSize(val int32) (e error)
- func (s *Shell) SetSize(cols, rows uint16) (e error)
- func (s *Shell) Unattack(conn Conn)
- func (s *Shell) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func DefaultManager ¶
func DefaultManager() *Manager
type Shell ¶
type Shell struct {
// contains filtered or unexported fields
}
func (*Shell) SetFontFamily ¶
func (*Shell) SetFontSize ¶
Click to show internal directories.
Click to hide internal directories.