MCPcopy Create free account
hub / github.com/apache/brpc / dec_log_id

Method dec_log_id

src/brpc/builtin/rpcz_service.cpp:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void RpczService::dec_log_id(::google::protobuf::RpcController* cntl_base,
129 const ::brpc::RpczRequest*,
130 ::brpc::RpczResponse*,
131 ::google::protobuf::Closure* done) {
132 ClosureGuard done_guard(done);
133 Controller *cntl = static_cast<Controller*>(cntl_base);
134 cntl->http_response().set_content_type("text/plain");
135 FLAGS_rpcz_hex_log_id = false;
136 cntl->response_attachment().append("log_id is decimal");
137}
138
139void RpczService::stats(::google::protobuf::RpcController* cntl_base,
140 const ::brpc::RpczRequest*,

Callers 1

TestRpczMethod · 0.80

Calls 2

set_content_typeMethod · 0.80
appendMethod · 0.45

Tested by 1

TestRpczMethod · 0.64