国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

nginx - How to introduce all the files in the lua directory (`kafka/*`) into the environment?
伊謝爾倫
伊謝爾倫 2017-05-16 17:08:17
0
1
919

Ask a question:
How to introduce all the files in the lua directory (kafka/*) into the environment? I only know the following method

package.path = package.path..';lua/?.lua'

伊謝爾倫
伊謝爾倫

小伙看你根骨奇佳,潛力無限,來學(xué)PHP伐。

reply all(1)
洪濤

Found a solution on github.

init.lua

package.path = package.path.. ';lua/?.lua'
               .. ';lua/resty/kafka/?.lua';
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template