mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
⭐ feat: Add protobuf (#171)
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>
This commit is contained in:
17
protobufs/latency_tracker.proto
Normal file
17
protobufs/latency_tracker.proto
Normal file
@@ -0,0 +1,17 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "relay/internal/proto";
|
||||
|
||||
package proto;
|
||||
|
||||
message ProtoTimestampEntry {
|
||||
string stage = 1;
|
||||
google.protobuf.Timestamp time = 2;
|
||||
};
|
||||
|
||||
message ProtoLatencyTracker {
|
||||
string sequence_id = 1;
|
||||
repeated ProtoTimestampEntry timestamps = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user