1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2025-10-18 15:29:24 +00:00

Hide calls to Incredis in the Storage class.

This should allow me to write some decent
simulation tests.
This commit is contained in:
King_DuckZ 2017-06-05 21:57:14 +01:00
commit c302dbee73
8 changed files with 214 additions and 74 deletions

View file

@ -41,6 +41,6 @@ namespace tawashi {
typedef std::pair<boost::optional<std::string>, HttpHeader> StringOrHeader;
virtual HttpHeader on_process() override;
StringOrHeader submit_to_redis (const boost::string_ref& parText, uint32_t parExpiry, const boost::string_ref& parLang);
StringOrHeader submit_to_storage (const boost::string_ref& parText, uint32_t parExpiry, const boost::string_ref& parLang);
};
} //namespace tawashi