Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clients ¶ added in v1.3.0
Clients returns one page of the connected-client list as JSON.
Query parameters:
- page: 1-based page number (default 1, clamped to the last page)
- page_size: rows per page (default 20, max 500)
- sort: sort key (default "uptime"; unknown keys fall back to it)
- order: "asc" (default) or "desc"
The default order (uptime ascending, i.e. longest-connected first) is stable across refreshes: rows keep their position and new connections append at the end, instead of jumping around with Go's random map iteration order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.