52 lines
981 B
Protocol Buffer
52 lines
981 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package versevdi.tunnel.v1;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
option go_package = "github.com/sechmachine/VerseVDI-Protocol/gen/go/tunnel";
|
|
|
|
message VersionNegotiation {
|
|
repeated string supported_versions = 1;
|
|
repeated string features = 2;
|
|
}
|
|
|
|
message AdmissionRequest {
|
|
string session_id = 1;
|
|
string protocol_version = 2;
|
|
string audience = 3;
|
|
string purpose = 4;
|
|
string grant = 5;
|
|
}
|
|
|
|
message AdmissionResult {
|
|
bool admitted = 1;
|
|
string session_id = 2;
|
|
string failure_code = 3;
|
|
int64 session_version = 4;
|
|
}
|
|
|
|
message SessionClose {
|
|
string session_id = 1;
|
|
string code = 2;
|
|
string reason = 3;
|
|
google.protobuf.Timestamp occurred_at = 4;
|
|
}
|
|
|
|
message Health {
|
|
string session_id = 1;
|
|
int64 sequence = 2;
|
|
google.protobuf.Timestamp observed_at = 3;
|
|
}
|
|
|
|
message BoundedError {
|
|
string code = 1;
|
|
string message = 2;
|
|
}
|
|
|
|
message ChannelOpen {
|
|
string channel_id = 1;
|
|
string direction = 2;
|
|
uint32 maximum_frame_bytes = 3;
|
|
}
|