update doc

This commit is contained in:
siddontang 2014-08-04 14:13:35 +08:00
parent 6c10cca3eb
commit 7485899c17
2 changed files with 8 additions and 6 deletions

View File

@ -1,18 +1,19 @@
# LedisDB # LedisDB
Ledisdb is a high performance NoSQL like Redis written by go. It supports some advanced data structure like kv, list, hash and zset, and may be alternative for Redis. Ledisdb is a high performance NoSQL like Redis written by go. It supports some advanced data structure like kv, list, hash, zset, bitmap, and may be alternative for Redis.
LedisDB now supports multi database as backend to store data, you can test and choose the proper one for you. LedisDB now supports multi database as backend to store data, you can test and choose the proper one for you.
## Features ## Features
+ Rich advanced data structure: KV, List, Hash, ZSet, Bit. + Rich advanced data structure: KV, List, Hash, ZSet, Bitmap.
+ Stores lots of data, over the memory limit. + Stores lots of data, over the memory limit.
+ Various backend database to use: LevelDB, goleveldb, LMDB, RocksDB, BoltDB. + Various backend database to use: LevelDB, goleveldb, LMDB, RocksDB, BoltDB.
+ Supports expiration and ttl. + Supports expiration and ttl.
+ Redis clients, like redis-cli, are supported directly. + Redis clients, like redis-cli, are supported directly.
+ Multi client API supports, including Golang, Python, Lua(Openresty). + Multi client API supports, including Golang, Python, Lua(Openresty).
+ Easy to embed in Golang application. + Easy to embed in Golang application.
+ Restful API support.
+ Replication to guarantee data safe. + Replication to guarantee data safe.
+ Supplies tools to load, dump, repair database. + Supplies tools to load, dump, repair database.

View File

@ -27,12 +27,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 // HTTP Interface
//
// LedisDB provides http interfaces for most commands(except the replication commands) // LedisDB provides http interfaces for most commands(except the replication commands)
// //
// curl http://127.0.0.1:11181/SET/hello/world // curl http://127.0.0.1:11181/SET/hello/world
// → {"SET":[true,"OK"]} // → {"SET":[true,"OK"]}
// //
// curl http://127.0.0.1:11181/0/GET/hello?type=json // curl http://127.0.0.1:11181/0/GET/hello?type=json
// → {"GET":"world"} // → {"GET":"world"}
// //
package server package server