Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSession ¶
func AddSession(s *Session)
func GetAliveSessionIds ¶
func GetAliveSessionIds() []string
func RemoveSession ¶
func RemoveSession(s *Session)
func RemoveSessionById ¶
func RemoveSessionById(id string)
Types ¶
type Session ¶
func GetSessionById ¶
func GetSessions ¶
func GetSessions() []*Session
func (*Session) HandleTask ¶
func (s *Session) HandleTask(task *model.TerminalTask) error
type TaskFunc ¶
type TaskFunc func(task *model.TerminalTask) error
Click to show internal directories.
Click to hide internal directories.