Expand description
Small authenticated loopback control surface. The archive engine remains usable directly; HTTP is not a prerequisite for embedded applications.
Structs§
- Service
- Shutdown
Handle - Cooperative stop request shared with the owner of a running service.
Requesting shutdown does not wait for completion or interrupt entered I/O
or SQL. The owner must wait for
Service::runto return before reopening its archive. Embedded services do not install process signal handlers.
Functions§
- create_
token - New private service token, never a wallet/signing/decryption key. Existing files are not overwritten.
- write_
token - 32 random bytes, hex encoded, into a file whose access the caller chose.