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:
parent
99e52ceb75
commit
c302dbee73
8 changed files with 214 additions and 74 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue