Expand description
The gonzalo daemon library: a transport-agnostic Service over a
Store, served over gRPC (serve_grpc) and/or HTTP/JSON
(serve_http). Operators choose whichever transport they want.
Structs§
- Grpc
Adapter - Adapts
Serviceto the generated gRPC trait, enforcing namespace-scoped auth (ADR 0015) per call from the request’s bearer metadata. - Principal
- An authenticated caller and the namespaces it may read/write.
"*"in a list grants that access on every namespace. - Service
- Wraps a
Store(records) and aBlobStore(content-addressed slices) and exposes their operations to the daemon transports. The daemon backs both with the sameFsStore. - View
Summary - One indexed view, as reported by
Service::graph_views.
Enums§
- Access
- The kind of access an operation needs on a namespace.
- Auth
- The daemon’s token registry.
Disabledmeans no auth was configured — every request is served as an implicit admin (local/library behavior). - Store
Config - The selected storage substrate and its parameters.
Functions§
- router
- Build the axum router.
authgoverns per-namespace authorization (ADR 0015);Auth::Disabledserves open. The middleware authenticates every non-probe request (bearer →Principal, or401) and hands the principal to the handlers, which authorize against the target namespace. - serve_
grpc - Serve gRPC on an already-bound listener until the process ends.
authgoverns per-call namespace authorization (ADR 0015);Auth::Disabledserves open. - serve_
http - Serve HTTP/JSON on an already-bound listener until the process ends.