feat: initial schema

This commit is contained in:
hdbg
2026-02-10 14:03:01 +01:00
parent 7816518977
commit 5b27c78bfc
8 changed files with 60 additions and 26 deletions

23
protobufs/arbiter.proto Normal file
View File

@@ -0,0 +1,23 @@
syntax = "proto3";
package arbiter;
import "auth.proto";
message ClientMessage {
oneof payload {
arbiter.auth.AuthChallengeRequest auth_challenge_request = 1;
arbiter.auth.AuthChallengeSolution auth_challenge_solution = 2;
}
}
message ServerMessage {
oneof payload {
arbiter.auth.AuthChallenge auth_challenge = 1;
arbiter.auth.AuthResponse auth_response = 2;
}
}
service Server {
rpc Communicate(stream ClientMessage) returns (stream ServerMessage);
}