update README.md

This commit is contained in:
wenyekui 2014-08-04 11:55:39 +08:00
parent ab189ffe40
commit 6c10cca3eb
1 changed files with 8 additions and 0 deletions

View File

@ -94,6 +94,14 @@ You must known that changing store database runtime is very dangerous, LedisDB w
ledis 127.0.0.1:6380> get a
"1"
//use curl
curl http://127.0.0.1:11181/SET/hello/world
→ {"SET":[true,"OK"]}
curl http://127.0.0.1:11181/0/GET/hello?type=json
→ {"GET":"world"}
## Package Example
import "github.com/siddontang/ledisdb/ledis"