Skip to content

Commit

Permalink
Merge branch 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dedok committed Apr 19, 2015
2 parents 6cec47a + 8f2dcbc commit c466979
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Tarantool NginX upstream module (JSON API, websockets, load balancing)

About upstream: http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream

## Status

Alpha version

## Protocol

Module expectes json posted over HTTP POST in request body.
Expand All @@ -26,8 +30,10 @@ Tarantool NginX upstream module (JSON API, websockets, load balancing)

"params"

TNT_METHOD - Tarantool lua function name.
Here is a Structured array, that MUST hold the TNT_METHOD name as first element before all of the rest elements.
These elements are arguments of TNT_METHOD.

"id"
An identifier established by the Client MUST contain an unsigned Number not
Expand Down Expand Up @@ -60,7 +66,6 @@ Tarantool NginX upstream module (JSON API, websockets, load balancing)

See "message" field for details.


## Compilation and install

### Build from the sources
Expand Down Expand Up @@ -97,5 +102,16 @@ Tarantool NginX upstream module (JSON API, websockets, load balancing)
```

## Examples

Python minimalistic example: test/client.py.

Client side javascript example: example/echo.html.

For those examples Tarantool must be launched with example/echo.lua and this module with "location = '/tnt'".




Please report bugs at https://github.com/tarantool/nginx_upstream_module/issues
We also warmly welcome your feedback in the discussion mailing list, [email protected].

0 comments on commit c466979

Please sign in to comment.