增加按用户统计带宽/升级Go为1.18

This commit is contained in:
刘祥超
2022-07-07 09:19:15 +08:00
parent 22479278b9
commit 84f8a7192e
10 changed files with 3536 additions and 3242 deletions

View File

@@ -6,8 +6,9 @@ package pb;
// 带宽统计数据
message ServerBandwidthStat {
int64 id = 1;
int64 serverId = 2;
string day = 3;
string timeAt = 4;
int64 bytes = 5;
int64 userId = 2;
int64 serverId = 3;
string day = 4;
string timeAt = 5;
int64 bytes = 6;
}

View File

@@ -0,0 +1,13 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
// 带宽统计数据
message UserBandwidthStat {
int64 id = 1;
int64 userId = 2;
string day = 3;
string timeAt = 4;
int64 bytes = 5;
}