Skip to main content

Module misc

Module misc 

Source
Expand description

/api/nonces and /api/profiles — the two small read surfaces.

Nonce values are bearer credentials, so /api/nonces answers a count and never a value. The profile list is what is mounted, which between an edit and its SIGHUP may differ from what the file says.

Structs§

CleanupRequest
The optional body of POST /api/nonces/cleanup.

Functions§

cleanup_nonces
POST /api/nonces/cleanup — sweep now, rather than waiting for the reaper.
get_nonces
GET /api/nonces — how many rows the table holds.
list_profiles
GET /api/profiles — the endpoints this process is serving.