MCPcopy
hub / github.com/eolinker/goku_lite / proxyFlow

Method proxyFlow

node/gateway/api.go:72–82  ·  view source on GitHub ↗
(ctx *common.Context)

Source from the content-addressed store, hash-verified

70}
71
72func (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
84func (h *API) proxyGlobalFlow(ctx *common.Context) {
85 // 全局插件不中断

Callers 1

RouterMethod · 0.95

Calls 2

ExecuteMethod · 0.65
IsStopMethod · 0.65

Tested by

no test coverage detected