mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			694 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			694 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
option go_package = "./pb";
 | 
						|
 | 
						|
package pb;
 | 
						|
 | 
						|
import "models/model_client_system.proto";
 | 
						|
 | 
						|
// 操作系统统计
 | 
						|
service ServerClientSystemMonthlyStatService {
 | 
						|
	// 查找前N个操作系统
 | 
						|
	rpc findTopServerClientSystemMonthlyStats (FindTopServerClientSystemMonthlyStatsRequest) returns (FindTopServerClientSystemMonthlyStatsResponse);
 | 
						|
}
 | 
						|
 | 
						|
// 查找前N个操作系统
 | 
						|
message FindTopServerClientSystemMonthlyStatsRequest {
 | 
						|
	int64 serverId = 1;
 | 
						|
	string month = 2;
 | 
						|
	int64 offset = 3;
 | 
						|
	int64 size = 4;
 | 
						|
}
 | 
						|
 | 
						|
message FindTopServerClientSystemMonthlyStatsResponse {
 | 
						|
	repeated Stat stats = 1;
 | 
						|
 | 
						|
	message Stat {
 | 
						|
		ClientSystem clientSystem = 1;
 | 
						|
		string version = 2;
 | 
						|
		int64 count = 3;
 | 
						|
	}
 | 
						|
} |