Expand description
Transport plumbing for the omp gRPC protocol.
The daemon serves local clients over an owner-only Unix-domain socket; omp gateway serve exposes the same services over TCP with mutual TLS. Every
connection starts with the gateway Hello handshake. A client rejects a
server whose schema revision is older than its own, because protobuf’s
unknown-field behavior would otherwise silently discard newer client data.
Liveness and per-service readiness use the standard grpc.health.v1
protocol.
Re-exports§
pub use health::health_service;pub use hello::HelloService;pub use hello::MIN_SCHEMA_REV;pub use hello::Peer;pub use hello::handshake;pub use tls::TlsConfig;pub use tls::client_tls;pub use tls::server_tls;pub use uds::Incoming;pub use uds::connect;pub use uds::listen;
Modules§
- health
- Standard gRPC health service integration.
- hello
- Gateway schema and capability negotiation.
- tls
- TLS configuration builders for remote TCP gateways.
- uds
- Unix-domain-socket transport for local daemon connections.
Structs§
- Health
Reporter - A handle providing methods to update the health status of gRPC services. A
HealthReporteris connected to aHealthServerwhich serves the statuses over thegrpc.health.v1.Healthservice.
Enums§
- Error
- An RPC transport or protocol-negotiation failure.