Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it possible to type multi-line code #27

Open
saks opened this issue Feb 3, 2017 · 1 comment
Open

make it possible to type multi-line code #27

saks opened this issue Feb 3, 2017 · 1 comment

Comments

@saks
Copy link
Owner

saks commented Feb 3, 2017

No description provided.

@kwanhur
Copy link

kwanhur commented Jun 27, 2017

you can place repl.start() at multi lines.
just like this

content_by_lua_block {
local repl = require('resty.repl')
repl.start()
ngx.log(ngx.NOTICE, 'repl pass one')
repl.start()
ngx.log(ngx.NOTICE, 'repl pass again')
}

then use repl.stop() to go into next point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants