diff --git a/index.html b/index.html index ddecf75..4a4587d 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@
Various backend databases to choose:
-LevelDB, goleveldb, LMDB, RocksDB & BoltDB.
+LevelDB, goleveldb, LMDB, RocksDB or BoltDB.
Supports expiration and ttl in all kinds of data structures.
@@ -85,7 +85,8 @@
./ledis-server -config=/etc/ledis.json
@@ -97,7 +98,21 @@ OK
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"}
+
+
import "github.com/siddontang/ledisdb/ledis"
@@ -109,6 +124,7 @@ db.Set(key, value)
db.Get(key)