Skip to content

ha1o0/redis-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-go

the redis server that is implemented by golang

How to use

  • git clone [email protected]:ha1o0/redis-go.git

  • Install official redis-cli

    • For Mac, just use brew install redis
    • For Linux, apt-get/yum...
    • Or use the source codes to make install manually
  • Start golang-redis-server of this repo(default port is 6378).go run .

  • Start the official redis client to connect this golang-redis-server by redis-cli -p 6378

  • Just enjoy redis commands like ping,get,set,exists,del,rpush,rpop,lpop,llen……

  • 有关rpc

    • 安装go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
    • 生成pb.go_grpc.pb.go使用protoc --go_out=./protos --go-grpc_out=./protos ./protos/hello.proto

About

the redis server that is implemented by golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages