MCPcopy Create free account
hub / github.com/Tencent/phxqueue / Get

Method Get

phxqueue_phxrpc/app/store/store_tool_impl.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64int StoreToolImpl::Get(phxrpc::OptMap &opt_map) {
65 phxqueue::comm::proto::GetRequest req;
66 phxqueue::comm::proto::GetResponse resp;
67
68 //TODO: fill req from opt_map
69
70
71 StoreClient client;
72 int ret = client.Get(req, &resp);
73 printf("%s return %d\n", __func__, ret);
74 printf("resp: {\n%s}\n", resp.DebugString().c_str());
75
76 return ret;
77}
78

Callers 1

PhxEchoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected