Commits

Alexey Kishkin committed cb4e0a1

put documentation (all for this moment) to README

Comments (0)

Files changed (1)

+Client memcache ocaml library
+
+This is a ocaml library that implements binary protocol for memcache.
+
+Author         : Alexey Kishkin (alexey@kishkin.name)
+Status         : beta version
+Reason         : Was not able to find good memcache client that implements decent binary protocol.
+How to install : Just drop memcache.ml and memcache.mli files to your project. memcache.ml uses unix library.
+
+Example:
+ 
+open Memcache
+
+let connector = new memcache_connector "localhost" 1999;;
+
+connector#add "walrus" "Odobenus rosmarus" 0 0;;
+
+connector#add "wax" "dum spiro -- spero" 0 0;;
+
+let result,key,value = connector#get "walrus" in
+      match result with
+       | MC_Key_not_found -> print_endline "not found"
+       | MC_No_error -> print_endline value
+       | _ -> print_endline "Something wrong"
+ end
+;;
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.