From 828b74e2d584d2a4a61b334d4b3597bcf9291726 Mon Sep 17 00:00:00 2001 From: wenyekui Date: Mon, 4 Aug 2014 10:47:10 +0800 Subject: [PATCH] update doc.go --- server/doc.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/doc.go b/server/doc.go index a283cab..f1ce245 100644 --- a/server/doc.go +++ b/server/doc.go @@ -26,4 +26,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/0/GET/hello?type=json +// → {"GET":"world"} +// package server