| 1007 | } |
| 1008 | |
| 1009 | void DoGet(const std::string& key, brpc::RedisReply* output) { |
| 1010 | auto it = m.find(key); |
| 1011 | if (it != m.end()) { |
| 1012 | output->SetString(it->second); |
| 1013 | } else { |
| 1014 | output->SetNullString(); |
| 1015 | } |
| 1016 | } |
| 1017 | |
| 1018 | private: |
| 1019 | RedisServiceImpl* _rs; |
nothing calls this directly
no test coverage detected