mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
Factor out client connections module into a separate library called facade
This commit is contained in:
parent
28a2db1044
commit
3f0fcbf99f
64 changed files with 946 additions and 666 deletions
|
@ -7,19 +7,15 @@
|
|||
#include <atomic>
|
||||
#include <string>
|
||||
|
||||
#include "facade/error.h"
|
||||
|
||||
namespace dfly {
|
||||
|
||||
std::string WrongNumArgsError(std::string_view cmd);
|
||||
|
||||
extern const char kSyntaxErr[];
|
||||
extern const char kWrongTypeErr[];
|
||||
extern const char kKeyNotFoundErr[];
|
||||
extern const char kInvalidIntErr[];
|
||||
extern const char kUintErr[];
|
||||
extern const char kDbIndOutOfRangeErr[];
|
||||
extern const char kInvalidDbIndErr[];
|
||||
extern const char kScriptNotFound[];
|
||||
extern const char kAuthRejected[];
|
||||
using facade::kWrongTypeErr;
|
||||
using facade::kInvalidIntErr;
|
||||
using facade::kSyntaxErr;
|
||||
using facade::kInvalidDbIndErr;
|
||||
using facade::kDbIndOutOfRangeErr;
|
||||
|
||||
#ifndef RETURN_ON_ERR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue