Skip to content

Commit 02efe4a

Browse files
committed
feature: supported to install by luarocks.
1 parent 0fb8a79 commit 02efe4a

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

README.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ path, as in
234234
Ensure that the system account running your Nginx ''worker'' proceses have
235235
enough permission to read the `.lua` and `.so` file.
236236

237+
It can be install by `luarocks` too, like this:
238+
239+
```shell
240+
$ luarocks install lua-resty-balancer
241+
```
242+
237243
[Back to TOC](#table-of-contents)
238244

239245
Performance
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package = "lua-resty-balancer"
2+
version = "0.02rc5-0"
3+
source = {
4+
url = "git://github.com/openresty/lua-resty-balancer",
5+
tag = "v0.02rc5",
6+
}
7+
8+
description = {
9+
summary = "A generic consistent hash implementation for OpenResty",
10+
homepage = "https://github.com/openresty/lua-resty-balancer",
11+
license = "Apache License 2.0",
12+
maintainer = "Yichun Zhang (agentzh) <[email protected]>",
13+
}
14+
15+
dependencies = {
16+
"lua >= 5.1",
17+
}
18+
19+
build = {
20+
type = "builtin",
21+
modules = {
22+
["librestychash"] = {"chash.c"},
23+
["resty.chash"] = "lib/resty/chash.lua",
24+
["resty.roundrobin"] = "lib/resty/roundrobin.lua",
25+
}
26+
}

0 commit comments

Comments
 (0)