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_browser.proto";
 | 
						|
 | 
						|
// 浏览器统计
 | 
						|
service ServerClientBrowserMonthlyStatService {
 | 
						|
	// 查找前N个浏览器
 | 
						|
	rpc findTopServerClientBrowserMonthlyStats (FindTopServerClientBrowserMonthlyStatsRequest) returns (FindTopServerClientBrowserMonthlyStatsResponse);
 | 
						|
}
 | 
						|
 | 
						|
// 查找前N个浏览器
 | 
						|
message FindTopServerClientBrowserMonthlyStatsRequest {
 | 
						|
	int64 serverId = 1;
 | 
						|
	string month = 2;
 | 
						|
	int64 offset = 3;
 | 
						|
	int64 size = 4;
 | 
						|
}
 | 
						|
 | 
						|
message FindTopServerClientBrowserMonthlyStatsResponse {
 | 
						|
	repeated Stat stats = 1;
 | 
						|
 | 
						|
	message Stat {
 | 
						|
		ClientBrowser clientBrowser = 1;
 | 
						|
		string version = 2;
 | 
						|
		int64 count = 3;
 | 
						|
	}
 | 
						|
} |