34 lines
764 B
Protocol Buffer
34 lines
764 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = "./pb";
|
|
|
|
package pb;
|
|
|
|
import "models/model_httpdns_runtime_log.proto";
|
|
|
|
service HTTPDNSRuntimeLogService {
|
|
rpc createHTTPDNSRuntimeLogs (CreateHTTPDNSRuntimeLogsRequest) returns (CreateHTTPDNSRuntimeLogsResponse);
|
|
rpc listHTTPDNSRuntimeLogs (ListHTTPDNSRuntimeLogsRequest) returns (ListHTTPDNSRuntimeLogsResponse);
|
|
}
|
|
|
|
message CreateHTTPDNSRuntimeLogsRequest {
|
|
repeated HTTPDNSRuntimeLog logs = 1;
|
|
}
|
|
|
|
message CreateHTTPDNSRuntimeLogsResponse {
|
|
}
|
|
|
|
message ListHTTPDNSRuntimeLogsRequest {
|
|
string day = 1;
|
|
int64 clusterId = 2;
|
|
int64 nodeId = 3;
|
|
string level = 4;
|
|
string keyword = 5;
|
|
int64 offset = 6;
|
|
int64 size = 7;
|
|
}
|
|
|
|
message ListHTTPDNSRuntimeLogsResponse {
|
|
repeated HTTPDNSRuntimeLog logs = 1;
|
|
int64 total = 2;
|
|
}
|