Documentation
¶
Overview ¶
uploader.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDriveHandlers ¶
func RegisterHandlers ¶
Types ¶
type DriveTemplateData ¶
type FolderItem ¶
type FolderItem struct { Name string `json:"name"` Path string `json:"path"` Type string `json:"type"` // "folder" Children []FolderItem `json:"children,omitempty"` }
type SSHInfo ¶
type SSHManager ¶
type SSHManager struct {
// contains filtered or unexported fields
}
SSHManager manages SSH clients associated with session IDs
func (*SSHManager) AddClient ¶
func (sm *SSHManager) AddClient(sessionID string, client *ssh.Client)
AddClient associates the SSH client with the given session ID
func (*SSHManager) GetClient ¶
func (sm *SSHManager) GetClient(sessionID string) (*ssh.Client, bool)
GetClient retrieves the SSH client associated with the given session ID
func (*SSHManager) RemoveClient ¶
func (sm *SSHManager) RemoveClient(sessionID string)
RemoveClient removes the SSH client associated with the given session ID
Click to show internal directories.
Click to hide internal directories.