mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 08:15:38 +02:00
This is a second attempt to add protobuf to Nestri, after the first one failed --------- Co-authored-by: Philipp Neumann <3daquawolf@gmail.com> Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
19 lines
322 B
Protocol Buffer
19 lines
322 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "relay/internal/proto";
|
|
|
|
import "types.proto";
|
|
import "latency_tracker.proto";
|
|
|
|
package proto;
|
|
|
|
message ProtoMessageBase {
|
|
string payload_type = 1;
|
|
ProtoLatencyTracker latency = 2;
|
|
}
|
|
|
|
message ProtoMessageInput {
|
|
ProtoMessageBase message_base = 1;
|
|
ProtoInput data = 2;
|
|
}
|