Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Desktop ¶
type Desktop struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` State string `json:"state,omitempty"` Type string `json:"type,omitempty"` Template string `json:"template,omitempty"` Viewers []string `json:"viewers,omitempty"` Icon string `json:"icon,omitempty"` Image string `json:"image,omitempty"` IP string `json:"ip,omitempty"` }
type User ¶
type User struct { UID string Username string Provider string Category string Role string `json:"role"` Group string `json:"group"` Desktops []Desktop Templates []Template Deployments []UserDeployment Name string `json:"name"` Email string `json:"email"` Photo string `json:"photo"` }
User is an user of IsardVDI
func (*User) LoadFromID ¶
Click to show internal directories.
Click to hide internal directories.