Documentation
¶
Index ¶
Constants ¶
View Source
const ( Windows OSType = "windows" Linux OSType = "linux" MacOS OSType = "darwin" Android OSType = "android" KDE DesktopType = "KDE" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DesktopType ¶
type DesktopType string
type ServerConnection ¶
type ServerConnection struct {
// contains filtered or unexported fields
}
func NewServerConnection ¶
func NewServerConnection(cfg *pkg.AppConfig) *ServerConnection
func (*ServerConnection) Connect ¶
func (s *ServerConnection) Connect()
func (*ServerConnection) SendUpdate ¶
func (s *ServerConnection) SendUpdate(payload *UpdatePayload) error
type UpdatePayload ¶
Click to show internal directories.
Click to hide internal directories.