MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / EnableStrategy

Method EnableStrategy

controller/strategy/iml.go:203–205  ·  view source on GitHub ↗
(ctx *gin.Context, id string)

Source from the content-addressed store, hash-verified

201}
202
203func (i *imlStrategyController) EnableStrategy(ctx *gin.Context, id string) error {
204 return i.strategyModule.Enable(ctx, id)
205}
206
207func (i *imlStrategyController) DisableStrategy(ctx *gin.Context, id string) error {
208 return i.strategyModule.Disable(ctx, id)

Callers

nothing calls this directly

Calls 1

EnableMethod · 0.65

Tested by

no test coverage detected