mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
Replace json protocol by protobuf generate protobuf files with `bun buf generate` or just `buf generate` - [x] Implement all datatypes with proto files - [x] Map to ts types or use the generated proto types directly with: - [x] web frontend - [x] relay - [x] runner - [ ] final performance test (to be done when CI builds new images) --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
17 lines
324 B
Protocol Buffer
17 lines
324 B
Protocol Buffer
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;
|
|
} |