Documentation ¶
Index ¶
- Variables
- func ClientBuilderLayout() *g.Layout
- func ConnectedMachinesLayout() *g.Layout
- func CreateClientContextMenu(i int) *g.ContextMenuWidget
- func CreateClientTable() []*g.TableRowWidget
- func CreateProcessContextMenu(client *server.Client, process server.Process) *g.ContextMenuWidget
- func CreateProcessTable(client *server.Client) []*g.TableRowWidget
- func FileDropManager(filePaths []string)
- func FileExecutorLayout(client *server.Client) *g.Layout
- func Init()
- func ManageWindowConflict(currentWindowToggler func(i int)) *server.Client
- func MessageBoxSenderLayout(client *server.Client) *g.Layout
- func ProcessManagerLayout(client *server.Client) *g.Layout
- func RemoteShellLayout(client *server.Client) *g.Layout
- func RunGUI()
- func ServerManagerLayout() *g.Layout
- func SetWindowIcon(window *g.MasterWindow, path string)
- func ToggleClientBuilderOpen()
- func ToggleClientMsgBoxOpen(clientID int)
- func ToggleClientProcessManagerOpen(clientID int)
- func ToggleClientShellOpen(clientID int)
- func ToggleRunFileOpen(clientID int)
- func ToggleURLOpenerOpen(clientID int)
- func URLOpenerLayout(client *server.Client) *g.Layout
- func VerifyCurrentClient() *server.Client
Constants ¶
This section is empty.
Variables ¶
var ( ClientBuildConfig = helper.NewBuilderConfig() MessageBoxToSend = server.MessageBox{Delay: 1, Amount: 1} FilesToSend []server.ClientFile URLToOpen string FilesUploadedStr string )
Input storage variables.
var ( // The index of the client that our last operation was performed on. ClientSelected int // Window monitoring variables. ClientBuilderWindowOpen bool ClientRunFileWindowOpen bool ClientShellWindowOpen bool ClientProcessWindowOpen bool ClientMsgBoxWindowOpen bool ClientURLWindowOpen bool // Latest combo box option(s) selected. IconIndexLastSelected int32 ButtonIndexLastSelected int32 )
Functions ¶
func ClientBuilderLayout ¶
`ClientBuilderLayout` returns the window Layout for the Client Builder window.
func ConnectedMachinesLayout ¶
`ConnectedMachinesLayout` returns the window Layout for the Connected Machines window.
func CreateClientContextMenu ¶
func CreateClientContextMenu(i int) *g.ContextMenuWidget
`CreateClientContextMenu` creates a new operations context menu for the passed table row (client index).
func CreateClientTable ¶
func CreateClientTable() []*g.TableRowWidget
`CreateClientTable` parses and formats the CurrentServer Connections array into usable TableRows.
func CreateProcessContextMenu ¶
`CreateProcessContextMenu` creates a new operations context menu for each process.
func CreateProcessTable ¶
func CreateProcessTable(client *server.Client) []*g.TableRowWidget
`CreateProcessTable` parses and formats the passed clients processes into usable TableRows.
func FileDropManager ¶
func FileDropManager(filePaths []string)
`FileDropManager` is the dropper callback that handles any files dropped in the program appropriately.
func FileExecutorLayout ¶
`FileExecutorLayout` returns the window Layout for the File Executor window.
func ManageWindowConflict ¶
`ManageWindowConflict` Makes sure the windows aren't conflicting and that ClientSelected is valid. Only one window can be open at a time due to the way each clients data is managed and processed. Returns the derived client if ClientSelected is a valid index in the server, otherwise nil.
func MessageBoxSenderLayout ¶
`MessageBoxSenderLayout` returns the window Layout for the Message Box Sender window.
func ProcessManagerLayout ¶
`ProcessManagerLayout` returns the window Layout for the Process Manager window.
func RemoteShellLayout ¶
`RemoteShellLayout` returns the window Layout for the Remote Shell window.
func RunGUI ¶
func RunGUI()
`RunGUI` displays the configured widgets in the GUI, while constantly updating.
func ServerManagerLayout ¶
`ServerManagerLayout` returns the window Layout for the Server Manager window.
func SetWindowIcon ¶
func SetWindowIcon(window *g.MasterWindow, path string)
`SetWindowIcon` loads the icon texture from the passed image path and applies it to the window.
func ToggleClientMsgBoxOpen ¶
func ToggleClientMsgBoxOpen(clientID int)
func ToggleClientProcessManagerOpen ¶
func ToggleClientProcessManagerOpen(clientID int)
func ToggleClientShellOpen ¶
func ToggleClientShellOpen(clientID int)
func ToggleRunFileOpen ¶
func ToggleRunFileOpen(clientID int)
func ToggleURLOpenerOpen ¶
func ToggleURLOpenerOpen(clientID int)
func URLOpenerLayout ¶
`URLOpenerLayout` returns the window Layout for the URL Opener window.
func VerifyCurrentClient ¶
`VerifyCurrentClient` verifies that the passed index is within the valid range of the servers Connections and returns the derived Client using the aforementioned index if it is valid.
Types ¶
This section is empty.