Documentation
¶
Overview ¶
Package websessions remembers which panel user a browser (web client) session belongs to. The web client announces a per-session id as its RustDesk "my_id"; the controlled device reports that id back in its audit events, which lets connection rules apply to the panel user.
Index ¶
Constants ¶
View Source
const Prefix = "web-"
Prefix marks web client ids; desktop clients have numeric ids.
View Source
const ( // TTL bounds how long an issued id maps to its user. TTL = 12 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.