mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
refactor(rtt): use proto Duration, add tests
This commit is contained in:
@@ -4,6 +4,7 @@ package api;
|
||||
|
||||
option go_package = "github.com/psviderski/uncloud/internal/machine/api/pb";
|
||||
|
||||
import "google/protobuf/duration.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "internal/machine/api/pb/common.proto";
|
||||
@@ -133,6 +134,6 @@ message WireGuardPeer {
|
||||
}
|
||||
|
||||
message RTTStats {
|
||||
double median = 1;
|
||||
double std_dev = 2;
|
||||
google.protobuf.Duration median = 1;
|
||||
google.protobuf.Duration std_dev = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user