userver: userver/storages/redis/key_type.hpp Source File
Loading...
Searching...
No Matches
key_type.hpp
1#pragma once
2
3#include <string>
4#include <string_view>
5
6USERVER_NAMESPACE_BEGIN
7
8namespace storages::redis {
9
10enum class KeyType { kNone, kString, kList, kSet, kZset, kHash, kStream };
11
12KeyType ParseKeyType(std::string_view str);
13std::string ToString(KeyType key_type);
14
15} // namespace storages::redis
16
17USERVER_NAMESPACE_END