MCPcopy Create free account
hub / github.com/baidu/tera / GetRemoteAddress

Function GetRemoteAddress

src/utils/network_utils.cc:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace utils {
9
10std::string GetRemoteAddress(google::protobuf::RpcController* controller) {
11 assert(controller != NULL);
12 sofa::pbrpc::RpcController* cntl = static_cast<sofa::pbrpc::RpcController*>(controller);
13 return cntl->RemoteAddress();
14}
15
16} // namespace utils
17} // namepsace tera

Callers 15

CmdCtrlMethod · 0.85
UpdateUgiMethod · 0.85
ShowUgiMethod · 0.85
UpdateAuthMethod · 0.85
ShowAuthMethod · 0.85
SetAuthPolicyMethod · 0.85
ShowAuthPolicyMethod · 0.85
SetQuotaMethod · 0.85
ShowQuotaMethod · 0.85
CreateTableMethod · 0.85
DeleteTableMethod · 0.85
DisableTableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected