mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-10 01:20:26 +08:00
增加流量包相关接口
This commit is contained in:
13
pkg/rpc/protos/models/model_traffic_package.proto
Normal file
13
pkg/rpc/protos/models/model_traffic_package.proto
Normal file
@@ -0,0 +1,13 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
// 流量包
|
||||
message TrafficPackage {
|
||||
int64 id = 1;
|
||||
int32 size = 2;
|
||||
string unit = 3;
|
||||
int64 bytes = 4;
|
||||
bool isOn = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user