mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-04 21:17:36 +08:00
doc: fixed typo in serverless. (#440)
This commit is contained in:
parent
1e7f66a428
commit
1f55335b57
@ -1,14 +1,13 @@
|
||||
[中文](serverless-cn.md)
|
||||
# serverless
|
||||
There are two plug-ins for serverless, namely `serverless-pre-function` and `serverless-post-function'.
|
||||
There are two plug-ins for serverless, namely `serverless-pre-function` and `serverless-post-function`.
|
||||
|
||||
The former runs at the beginning of the specified phase, while the latter runs at the end of the specified phase.
|
||||
|
||||
Both plug-ins receive the same parameters.
|
||||
|
||||
### Parameters
|
||||
* `phase`: The default phase is `access`, if not specified. The valid phases are: `rewrite', `access`,`
|
||||
`Header_filer`, `body_filter', `log` and `balancer'.
|
||||
* `phase`: The default phase is `access`, if not specified. The valid phases are: `rewrite`, `access`,`Header_filer`, `body_filter`, `log` and `balancer`.
|
||||
|
||||
* `functions`: A list of functions that are specified to run is an array type, which can contain either one function or multiple functions, executed sequentially.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user