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

Struct imlAPIController

controller/ai-api/iml.go:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21var _ IAPIController = (*imlAPIController)(nil)
22
23type imlAPIController struct {
24 module ai_api.IAPIModule `autowired:""`
25 routerModule router.IRouterModule `autowired:""`
26 serviceModule service.IServiceModule `autowired:""`
27 transaction store.ITransaction `autowired:""`
28}
29
30func (i *imlAPIController) Create(ctx *gin.Context, serviceId string, input *ai_api_dto.CreateAPI) (*ai_api_dto.API, error) {
31 _, err := i.serviceModule.Get(ctx, serviceId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected