https://github.com/zyy17/simple_resp
simple_resp is a simple RESP(REdis Serialization Protocol) decode and encode library base on C++11.
https://github.com/zyy17/simple_resp
redis resp
Last synced: 3 months ago
JSON representation
simple_resp is a simple RESP(REdis Serialization Protocol) decode and encode library base on C++11.
- Host: GitHub
- URL: https://github.com/zyy17/simple_resp
- Owner: zyy17
- Created: 2017-09-19T12:10:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-19T09:15:12.000Z (over 8 years ago)
- Last Synced: 2025-04-14T17:21:35.876Z (about 1 year ago)
- Topics: redis, resp
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
simple_resp is a simple RESP(REdis Serialization Protocol) decode and encode library base on C++11.
## API
As the name says, simple_resp is quite **simple**. It just has two basic class: `decoder` and `encoder`.
It will always follow KISS principle and just use basic C++11 features.
## How to Run
- g++ (C++11 supported, maybe g++ > 4.8);
- compile command:
simple_resp is managed by CMake. You can compile the project as following commands:
$ mkdir build && cd build
$ cmake ..
$ make
You can run simple unit test:
$ make test
## WIP
- complete RESP support