mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
28 lines
412 B
Protocol Buffer
28 lines
412 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package proto;
|
|
|
|
option go_package = "/command/server/proto";
|
|
|
|
service Bor {
|
|
rpc Pprof(PprofRequest) returns (PprofResponse);
|
|
}
|
|
|
|
message PprofRequest {
|
|
Type type = 1;
|
|
|
|
string profile = 2;
|
|
|
|
int64 seconds = 3;
|
|
|
|
enum Type {
|
|
LOOKUP = 0;
|
|
CPU = 1;
|
|
TRACE = 2;
|
|
}
|
|
}
|
|
|
|
message PprofResponse {
|
|
string payload = 1;
|
|
map<string, string> headers = 2;
|
|
}
|