update doc.go

This commit is contained in:
wenyekui 2014-08-04 10:47:10 +08:00
parent 93761d8ff3
commit 828b74e2d5
1 changed files with 9 additions and 0 deletions

View File

@ -26,4 +26,13 @@
// //
// After you send slaveof command, the slave will start to sync master's binlog and replicate from binlog. // After you send slaveof command, the slave will start to sync master's binlog and replicate from binlog.
// //
// HTTP Interface
// LedisDB provides http interfaces for most commands(except the replication commands)
//
// 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 server package server