where's the lua API documentation for plugin developer #5421
-
I'm trying to learn to develop apisix plugin in lua, and I see the examples in documentation. local core = require("apisix.core")
local router = require("apisix.router")
local ngx = ngx
-- ... But I don't know what APIs these lib provide, and I can't find docs. The only way is to look into the source code? |
Beta Was this translation helpful? Give feedback.
Answered by
tzssangglass
Nov 8, 2021
Replies: 1 comment 7 replies
-
Yes, reading the source code is the best way. See also other plugins code. |
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
caibirdme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, reading the source code is the best way. See also other plugins code.