Skip to main content

Crate gonzalo_store_server

Crate gonzalo_store_server 

Source
Expand description

A Store backed by a remote gonzalo daemon. Operators choose the transport: ServerStore::http (HTTP/JSON via reqwest) or ServerStore::grpc (gRPC via tonic). Both speak the same JSON serialization of gonzalo-core types. Each transport has a *_with_token constructor that sends Authorization: Bearer <token>.

Structs§

ServerStore
A client substrate over a remote gonzalo daemon.

Constants§

DAEMON_PREDATES_BLOB_PRESENCE
The error has_blob returns against a daemon whose gRPC service has no HasBlob RPC (Unimplemented).
DAEMON_PREDATES_REPLICATION
The error every replication call (get_raw, list_raw, put_raw, purge) returns against a daemon without the replication surface: HTTP 404 on the route, or gRPC Unimplemented. There is deliberately no fallback to the consumer routes. Consumer reads hide tombstones and consumer put re-stamps recreations, so replicating through them resurrects deleted records (spec §3.6).