Skip to main content

Crate gonzalo_proto

Crate gonzalo_proto 

Source
Expand description

Shared gRPC schema for the gonzalo daemon. The generated module mirrors the gonzalo.v1 package; payloads are JSON-encoded gonzalo-core types.

Re-exports§

pub use v1::DeleteRequest;
pub use v1::DeleteResponse;
pub use v1::GetRequest;
pub use v1::GetResponse;
pub use v1::GraphLocatedResponse;
pub use v1::GraphNamesResponse;
pub use v1::GraphQueryRequest;
pub use v1::ListRequest;
pub use v1::ListResponse;
pub use v1::PutRequest;
pub use v1::PutResponse;
pub use v1::gonzalo_client::GonzaloClient;
pub use v1::gonzalo_server::Gonzalo;
pub use v1::gonzalo_server::GonzaloServer;

Modules§

http
JSON DTOs shared by the HTTP/JSON transport (server handlers and the reqwest client). The gRPC transport carries the same gonzalo-core types as JSON bytes, so both transports agree on serialization.
v1

Constants§

DEFAULT_MAX_BLOB_SIZE
Default ceiling for a single blob transferred over the daemon, in bytes (64 MiB). Shared by the server (HTTP body limit + gRPC decode limit) and the client (gRPC decode limit) so both agree on the supported blob size. The daemon may raise its own limit via GONZALO_MAX_BLOB_SIZE, but a client still caps decoding at this constant (see gonzalo#184 design §4).