proto: gateway, the four messages between brokerd and gatewayd

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-24 04:07:46 -07:00
parent db3f9ed01b
commit ebb78e816d
14 changed files with 301 additions and 1 deletions
+5
View File
@@ -5,6 +5,7 @@ pub mod chain;
pub mod class;
pub mod escape;
pub mod frame;
pub mod gateway;
pub mod grant;
pub mod hash;
pub mod hosts;
@@ -20,6 +21,10 @@ pub use audit::{
pub use chain::{ChainFailure, ChainReport, ChainVerifier, Location, TornTail};
pub use class::DataClass;
pub use frame::{FrameError, MAX_FRAME, read_frame, write_frame};
pub use gateway::{
ApprovalOutcome, ApprovalPosted, ApprovalReply, ApprovalRequest, GatewayOutcome, MAX_REASON,
is_mattermost_id,
};
pub use grant::{Constraints, Grant, Mode};
pub use hash::{HashError, Sha256, sha256};
pub use ids::{CallId, Epoch, Hash32, SessionId, Timestamp, ValueError};