From 7485899c174026bfb2b29d8fc9c3614d1c3d2837 Mon Sep 17 00:00:00 2001 From: siddontang Date: Mon, 4 Aug 2014 14:13:35 +0800 Subject: [PATCH] update doc --- README.md | 5 +++-- server/doc.go | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 97fb9cd..84ccb00 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,19 @@ # 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. ## 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. + Various backend database to use: LevelDB, goleveldb, LMDB, RocksDB, BoltDB. + Supports expiration and ttl. + Redis clients, like redis-cli, are supported directly. + Multi client API supports, including Golang, Python, Lua(Openresty). + Easy to embed in Golang application. ++ Restful API support. + Replication to guarantee data safe. + Supplies tools to load, dump, repair database. diff --git a/server/doc.go b/server/doc.go index f1ce245..75714f2 100644 --- a/server/doc.go +++ b/server/doc.go @@ -27,12 +27,13 @@ // 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/SET/hello/world +// → {"SET":[true,"OK"]} // -// curl http://127.0.0.1:11181/0/GET/hello?type=json -// → {"GET":"world"} +// curl http://127.0.0.1:11181/0/GET/hello?type=json +// → {"GET":"world"} // package server