MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / ServiceStrategyList

Method ServiceStrategyList

controller/strategy/iml.go:182–185  ·  view source on GitHub ↗
(ctx *gin.Context, keyword string, serviceId string, driver string, page string, pageSize string, order string, sort string, filters string)

Source from the content-addressed store, hash-verified

180}
181
182func (i *imlStrategyController) ServiceStrategyList(ctx *gin.Context, keyword string, serviceId string, driver string, page string, pageSize string, order string, sort string, filters string) ([]*strategy_dto.StrategyItem, int64, error) {
183
184 return i.search(ctx, keyword, strategy_dto.ToScope(strategy_dto.ScopeService), serviceId, driver, page, pageSize, order, sort, filters)
185}
186
187func (i *imlStrategyController) CreateServiceStrategy(ctx *gin.Context, serviceId string, driver string, input *strategy_dto.Create) error {
188 _, err := i.serviceModule.Get(ctx, serviceId)

Callers

nothing calls this directly

Calls 1

searchMethod · 0.95

Tested by

no test coverage detected