-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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]. |