Skip to content

Commit 0a5e9c5

Browse files
committed
doc updates
1 parent 9a9d2fd commit 0a5e9c5

File tree

4 files changed

+60
-0
lines changed

4 files changed

+60
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The following daemons are built on simplehttp and included
1111
* simpletokyo - a HTTP /get /post /del /fwmatch /incr interface in front of ttserver
1212
* sortdb - Sorted database server
1313
* simplegeo
14+
* simplememdb - an in-memory version of simpletokyo
1415
* qrencode
1516

1617
INSTALL INSTRUCTIONS
@@ -36,4 +37,5 @@ Some modules have additional dependencies:
3637
* [json-c](http://oss.metaparadigm.com/json-c/)
3738
* [tokyocabinet](http://fallabs.com/tokyocabinet/) / [tokyotyrant](http://fallabs.com/tokyotyrant/)
3839
* [qrencode](http://fukuchi.org/works/qrencode/index.en.html)
40+
* [pcre](http://www.pcre.org/)
3941

simplehttp/libsimplehttp.a

16.8 KB
Binary file not shown.

simplehttp/simplehttp.o

16.4 KB
Binary file not shown.

simplememdb/README.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
simplememdb
2+
===========
3+
4+
in-memory http accessible tokyo cabinet database
5+
6+
Cmdline usage:
7+
8+
-a 0.0.0.0 (address to bind to)
9+
-p 8080 (port to bind to)
10+
-D daemonize (default off)
11+
12+
API endpoints:
13+
14+
* /get
15+
parameter: key
16+
17+
* /put
18+
parameter: key
19+
parameter: value
20+
21+
* /del
22+
parameter: key
23+
24+
* /dump
25+
parameter:regex (optional regex to dump specific keys)
26+
27+
* /fwmatch
28+
parameter:key
29+
parameter:max (optional)
30+
parameter:length (optional)
31+
parameter:offset (optional)
32+
33+
* /fwmatch_int (returns values added with /incr)
34+
parameter:key
35+
parameter:max (optional)
36+
parameter:length (optional)
37+
parameter:offset (optional)
38+
39+
* /incr
40+
parameter:key
41+
parameter:value
42+
43+
* /get_int (to return values added with /incr)
44+
parameter:key (accepts multiple &key= parameters)
45+
46+
* /vanish (empty the database)
47+
48+
* /stats (example output)
49+
parameter: format=json|txt
50+
51+
* /exit
52+
53+
Dependencies
54+
55+
* [libevent](http://monkey.org/~provos/libevent/) 1.4.13+
56+
* [json-c](http://oss.metaparadigm.com/json-c/)
57+
* [tokyocabinet](http://fallabs.com/tokyocabinet/)
58+
* [pcre](http://www.pcre.org/)

0 commit comments

Comments
 (0)