services/

directory
v1.17.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT

Directories

Path Synopsis
Package auth lets through the requests of a logged-in account only, and tells the routes which one.
Package auth lets through the requests of a logged-in account only, and tells the routes which one.
Package compress sends the big JSON answers of the API as gzip: on Tailscale from a phone, weight costs more than the server's time.
Package compress sends the big JSON answers of the API as gzip: on Tailscale from a phone, weight costs more than the server's time.
Package guard keeps the web pages of other sites away from the API: they could use the session cookie.
Package guard keeps the web pages of other sites away from the API: they could use the session cookie.
Package plan refuses the routes of a paid feature to the accounts whose plan lacks it.
Package plan refuses the routes of a paid feature to the accounts whose plan lacks it.
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses.
Package respond is what every route shares: reading the request, writing JSON, turning process errors into statuses.
Package throttle makes a key wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the sign-up.
Package throttle makes a key wait longer after each try in a row: wrong passwords at the login and on the OAuth consent page, accounts created from one address at the sign-up.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL