Versions in this module Expand all Collapse all v0 v0.0.3 Oct 24, 2025 v0.0.2 Oct 24, 2025 Changes in this version + const DISABLED + const NOTIFY_BEFORE_DOWNLOAD + const NOTIFY_BEFORE_INSTALLATION + const NOTIFY_SCHEDULED_INSTALLATION + const NOT_CONFIGURED + const REGISTER_APPROVED + const REGISTER_CERTIFICATE_SENT + const REGISTER_COMPLETE + const REGISTER_IN_REVIEW + const REGISTER_REVOKED + const UNKNOWN + const UPDATE_ERROR + const UPDATE_PENDING + const UPDATE_SUCCESS + func ConnectWithNATS(servers, clientCert, clientKey, caCert string) (*nats.Conn, error) + func ConnectWithNATSTOKEN(servers, token string) (*nats.Conn, error) + func RegisterPossibleStatus() []string + func SystemUpdatePossibleStatus() []string + func TaskUpdatePossibleStatus() []string + type AgentCertificateData struct + CertBytes []byte + PrivateKeyBytes []byte + type AgentReport struct + AgentID string + Antivirus Antivirus + Applications []Application + CertificateReady bool + Computer Computer + DebugMode bool + Enabled bool + ExecutionTime time.Time + HasRustDesk bool + HasRustDeskService bool + Hostname string + IP string + IsFlatpakRustDesk bool + IsWayland bool + LastUpdateTaskExecutionTime time.Time + LastUpdateTaskResult string + LastUpdateTaskStatus string + LoggedOnUsers []LoggedOnUser + LogicalDisks []LogicalDisk + MACAddress string + MemorySlots []MemorySlot + Monitors []Monitor + NetworkAdapters []NetworkAdapter + OS string + OperatingSystem OperatingSystem + PhysicalDisks []PhysicalDisk + Printers []Printer + Release Release + RemoteAssistanceDisabled bool + RestartRequired bool + SFTPPort string + SftpServiceDisabled bool + Shares []Share + Site string + SupportedVNCServer string + SystemUpdate SystemUpdate + Tenant string + Updates []Update + VNCProxyPort string + type AgentSetting struct + DebugMode bool + RemoteAssistance bool + SFTPPort string + SFTPService bool + VNCProxyPort string + type Antivirus struct + IsActive bool + IsUpdated bool + Name string + type Application struct + InstallDate string + Name string + Publisher string + Version string + type CertificateRequest struct + Address string + AgentId string + ConsoleURL string + Country string + DNSName string + DaysValid int + Email string + FullName string + Locality string + MonthsValid int + OCSPResponders []string + Organization string + Password string + PostalCode string + Province string + Username string + YearsValid int + type CfgProfiles struct + AgentID string + type Computer struct + Manufacturer string + Memory uint64 + Model string + Processor string + ProcessorArch string + ProcessorCores int64 + Serial string + type Config struct + AgentFrequency int + Ok bool + RemoteAssistanceDisabled bool + SFTPDisabled bool + WinGetFrequency int + type DeployAction struct + Action string + AgentId string + Failed bool + Info string + PackageId string + PackageName string + PackageVersion string + Repository string + When time.Time + type FileInfo struct + Arch string + Checksum string + FileURL string + Os string + type LoggedOnUser struct + LastLogon time.Time + Name string + type LogicalDisk struct + BitLockerStatus string + Filesystem string + Label string + RemainingSpaceInUnits string + SizeInUnits string + Usage int8 + VolumeName string + type MemorySlot struct + Manufacturer string + MemoryType string + PartNumber string + SerialNumber string + Size string + Slot string + Speed string + type Monitor struct + Manufacturer string + Model string + Serial string + WeekOfManufacture string + YearOfManufacture string + type NetworkAdapter struct + Addresses string + DHCPEnabled bool + DHCPLeaseExpired time.Time + DHCPLeaseObtained time.Time + DNSDomain string + DNSServers string + DefaultGateway string + MACAddress string + Name string + Speed string + Subnet string + type Notification struct + From string + MessageAction string + MessageActionURL string + MessageAttachFile string + MessageAttachFile2 string + MessageAttachFileName string + MessageAttachFileName2 string + MessageGreeting string + MessageText string + MessageTitle string + Subject string + To string + type OperatingSystem struct + Arch string + Description string + Edition string + InstallDate time.Time + LastBootUpTime time.Time + Username string + Version string + type PhysicalDisk struct + DeviceID string + Model string + SerialNumber string + SizeInUnits string + type Printer struct + IsDefault bool + IsNetwork bool + IsShared bool + Name string + Port string + type RebootOrRestart struct + Date time.Time + type Release struct + Arch string + Channel string + Checksum string + FileURL string + IsCritical bool + Os string + ReleaseDate time.Time + ReleaseNotes string + Summary string + Version string + type RemoteConfigRequest struct + AgentID string + SiteID string + TenantID string + type RustDesk struct + APIServer string + CustomRendezVousServer string + DirectIPAccess bool + Key string + PermanentPassword string + RelayServer string + Whitelist string + type RustDeskResult struct + Error string + RustDeskID string + type ServerFileInfo struct + Arch string + Checksum string + FileURL string + Os string + type Share struct + Description string + Name string + Path string + type SoftwarePackage struct + ID string + Name string + Source string + type SystemUpdate struct + LastInstall time.Time + LastSearch time.Time + PendingUpdates bool + Status string + type Update struct + Date time.Time + SupportURL string + Title string + type VNCConnection struct + NotifyUser bool + PIN string + type WingetCfgDeploy struct + Installed bool + PackageID string + type WingetCfgReport struct + AgentID string + Error string + ProfileID int + Success bool + type WingetPackage struct + ID string + Name string