Skip to main content

Crate kasl_server

Crate kasl_server 

Source
Expand description

kasl-server as a library.

The binary is a thin wrapper: configuration, a pool, migrations, then app::router. Everything else lives here so integration tests can drive the real router and the real provisioning path instead of a copy that drifts from what ships.

Modules§

app
auth
Agent authentication: who is allowed to upload, and on whose behalf.
config
error
One error shape for the whole API.
import
Importing an agent’s local history.
ingest
The upload endpoints: POST /api/v1/days and /days/batch.
model
The domain the server stores: the shapes behind migrations/.
provision
Getting the first agents onto a server that has no admin UI yet.

Functions§

migrator
The embedded migrations, applied on startup and by the tests.