evio/examples/README.md

19 lines
422 B
Markdown
Raw Normal View History

2017-07-04 06:39:18 +03:00
# `✨ shiny ✨ examples`
## redis-server
```
go run examples/redis-server.go [--port int] [--appendonly yes/no]
```
- `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
```
go run examples/echo-server.go [--port int]
```