https://github.com/codehakase/go-redis-imp
A simple implementation of Redis key value storage in Go
https://github.com/codehakase/go-redis-imp
Last synced: 10 months ago
JSON representation
A simple implementation of Redis key value storage in Go
- Host: GitHub
- URL: https://github.com/codehakase/go-redis-imp
- Owner: codehakase
- Created: 2018-02-17T11:47:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-17T12:25:02.000Z (almost 8 years ago)
- Last Synced: 2025-02-12T10:18:29.411Z (11 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-redis-imp
A simple implementation of Redis key value storage in Go
## WORK IN PROGRESS
At this point, this is just a program I spinned off in an evening. It basically implements the basics operations on Redis (GET, SET, DELETE).
## Why?
If nothing else, this code helps me understand Redis better.
## Run this
```shell
$ git clone https://github.com/codehakase/go-redis-imp $GOPATH/src/github.com/go-redis-imp
$ cd $GOPATH/src/go-redis-imp
$ go build
$ ./go-redis-imp
.... some debugging crap ...
```
On another terminal connect via telnet
```shell
$ telnet localhost 1234
```
Run basic redis commands:
```$
SET alias codehakase
GET alias
...-> codehakase
DEL alias
```