Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdSession ¶
type CmdSession struct { Running bool SessionID string Cmd *exec.Cmd Outcmd chan string Incmd chan string Stopped bool StartTime time.Time LastCmdTime time.Time EndTime time.Time // contains filtered or unexported fields }
CmdSession ...
type CmdSessionManager ¶
type CmdSessionManager struct {
// contains filtered or unexported fields
}
CmdSessionManager ...
func (*CmdSessionManager) CheckSessions ¶
func (cm *CmdSessionManager) CheckSessions(funcCheck CheckSessionExist)
CheckSessions ...
func (*CmdSessionManager) DeleteCmdSession ¶
func (cm *CmdSessionManager) DeleteCmdSession(sessionID string)
DeleteCmdSession ...
func (*CmdSessionManager) GetCmdSession ¶
func (cm *CmdSessionManager) GetCmdSession(sessionID string) *CmdSession
GetCmdSession ...
Click to show internal directories.
Click to hide internal directories.