(ctx *common.Context)
| 70 | } |
| 71 | |
| 72 | func (h *API) proxyFlow(ctx *common.Context) bool { |
| 73 | for _, handler := range h.pluginProxies { |
| 74 | flag, _ := handler.Execute(ctx) |
| 75 | |
| 76 | if flag == false && handler.IsStop() { |
| 77 | |
| 78 | return false |
| 79 | } |
| 80 | } |
| 81 | return true |
| 82 | } |
| 83 | |
| 84 | func (h *API) proxyGlobalFlow(ctx *common.Context) { |
| 85 | // 全局插件不中断 |