| 126 | } |
| 127 | |
| 128 | void 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 | |
| 139 | void RpczService::stats(::google::protobuf::RpcController* cntl_base, |
| 140 | const ::brpc::RpczRequest*, |