mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
28 lines
425 B
C++
28 lines
425 B
C++
/*
|
|
* predixy - A high performance and full features proxy for redis.
|
|
* Copyright (C) 2017 Joyield, Inc. <joyield.com@gmail.com>
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef _PREDIXY_REPLY_H_
|
|
#define _PREDIXY_REPLY_H_
|
|
|
|
class Reply
|
|
{
|
|
public:
|
|
enum Type
|
|
{
|
|
None,
|
|
Status,
|
|
Error,
|
|
String,
|
|
Integer,
|
|
Array,
|
|
|
|
Sentinel
|
|
};
|
|
static const char* TypeStr[Sentinel];
|
|
};
|
|
|
|
#endif
|