Documentation ¶
Index ¶
Constants ¶
View Source
const HandlerName = "Handler.Execute"
HandlerName provides the name of the method the RPC client should call via the RPC interface.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Port uint // contains filtered or unexported fields }
Client contains the configuration for RPC client
type Request ¶
type Request struct { Name RequestType StartVNCServerArgs StartVNCServerRequestArgs StopVNCServerArgs StopVNCServerRequestArgs }
Request identifies what method to call and arguments to pass.
type RequestType ¶
type RequestType string
RequestType indicates the type of request
const ( // StartVNCServer request StartVNCServer RequestType = "Start" // StopVNCServer request StopVNCServer RequestType = "Stop" // IsVNCServerActive request IsVNCServerActive RequestType = "IsActive" )
type StartVNCServerRequestArgs ¶ added in v0.2.0
StartVNCServerRequestArgs holds arguments for a StartVNCServer Request. Port is the VNC Server Port Passwd is the VNC Server Password Shared indicates whether the VNC Server allows multiple connections
type StopVNCServerRequestArgs ¶ added in v0.2.0
type StopVNCServerRequestArgs struct {
DisconnectClients bool
}
StopVNCServerRequestArgs holds arguments for a StopVNCServer Request. DisconnectClients indicates whether the VNC Server should close all client connections when shutting down.
Click to show internal directories.
Click to hide internal directories.