Permalink
Browse files

adding to readme

  • Loading branch information...
1 parent 0b1d62c commit bbb9a87c139b8f80903c781bdbe8a20e6969893f Jacob Vorreuter committed Jun 2, 2009
Showing with 20 additions and 30 deletions.
  1. +20 −30 README.markdown
View
@@ -16,42 +16,32 @@ Binary Protocol Spec <http://code.google.com/p/memcached/wiki/MemcacheBinaryProt
**You must have the binary protocol branch of memcached running as mentioned above**
-$> make
+ $> make
+ $> make test
+ $> sudo make install
-$> make test
+ 1> mcerlang:start_link([{"localhost", 11211, 1}]).
+ {ok,<0.37.0>}
-$> sudo make install
+ 2> mcerlang:stats().
+ [{{"localhost",11211},
+ [{evictions,"0"},
+ {total_items,"30"},
+ {curr_items,"4"},
+ {bytes,"257"},
+ {...}|...]}]
+ 3> mcerlang:set(hello, <<"World">>).
+ <<>>
-1> mcerlang:start_link([{"localhost", 11211, 1}]).
+ 4> mcerlang:get(hello).
+ <<"World">>
-{ok,<0.37.0>}
+ 5> mcerlang:add("foo", <<"bar">>).
+ <<>>
-
-2> mcerlang:stats().
-
-[{{"localhost",11211},
- [{evictions,"0"},
- {total_items,"30"},
- {curr_items,"4"},
- {bytes,"257"},
- {...}|...]}]
-
-3> mcerlang:set(hello, <<"World">>).
-
-<<>>
-
-4> mcerlang:get(hello).
-
-<<"World">>
-
-5> mcerlang:add("foo", <<"bar">>).
-
-<<>>
-
-6> mcerlang:get("foo").
-
-<<"bar">>
+ 6> mcerlang:get("foo").
+ <<"bar">>
## Commands

0 comments on commit bbb9a87

Please sign in to comment.