Giter Club home page Giter Club logo

peanutgredis's Introduction

peanutgredis

使用golang socket 实现的redis客户端,遵循redis标准协议,本项目主要想通过自己实现redis客户端来学习redigo、io、bufio、strconv、sync源码,学习为主,源码阅读将放在https://github.com/realpeanut/golangSourceCodeRead 项目

目前业内使用较多的是redigo package。阅读源码后,发现redigo作者自己实现了部分转码工作,而没有用官方package strconv,本项目以学习为主,后面转码功能将采用strconv package,顺便再研读一下strconv源码,后续也会增加bufio的源码阅读以及分享

协议实现列表

  • 网络层
  • 请求
  • 回复
  • 状态回复
  • 错误回复
  • 整数回复
  • 批量回复
  • 多条批量回复
  • 多条批量回复中的空元素
  • 多命令和流水线
  • 内联命令

功能实现列表

peanutgredis's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.