evio/examples/README.md

19 lines
432 B
Markdown
Raw Normal View History

2017-07-04 06:39:18 +03:00
# `✨ shiny ✨ examples`
## redis-server
```
2017-07-04 21:43:52 +03:00
go run examples/redis-server/main.go [--port int] [--appendonly yes/no]
2017-07-04 06:39:18 +03:00
```
- `GET`, `SET`, `DEL`, `QUIT`, `PING`, `SHUTDOWN` commands.
- `--appendonly yes` option for disk persistence.
- Compatible with the [redis-cli](https://redis.io/topics/rediscli) and all [redis clients](https://redis.io/clients).
## echo-server
```
2017-07-04 21:43:52 +03:00
go run examples/echo-server/main.go [--port int]
2017-07-04 06:39:18 +03:00
```