aboutsummaryrefslogtreecommitdiff
path: root/README.textile
diff options
context:
space:
mode:
authorNathan Lasseter <nathan.je.lasseter@googlemail.com>2011-01-28 22:32:34 +0000
committerNathan Lasseter <nathan.je.lasseter@googlemail.com>2011-01-28 22:32:34 +0000
commit613e8778e9f6a1107d7563a60574f557a71c6e4c (patch)
tree644738a2944c38e13a7dc352d3850d89d3a26620 /README.textile
parent69ae8b8039c341f1f86ebab9ec8ebbfc1be80134 (diff)
Added tests, fixed state
Diffstat (limited to 'README.textile')
-rw-r--r--README.textile5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.textile b/README.textile
index 42f05f3..8af6e41 100644
--- a/README.textile
+++ b/README.textile
@@ -18,6 +18,11 @@ h2. Request calls:
* make_request/1 takes a balancer and returns the response from the server.
* make_request/2 takes a balancer and an argument and returns the response from the server.
+h2. The function:
+
+p. The function must take two lists, some arguments and some state.
+p. It must return a tuple of {Return value, new state}.
+
h2. Info
p. The balancer round robins requests between erlang processes.