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

Struct imlAIKeyController

controller/ai-key/iml.go:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12var _ IKeyController = &imlAIKeyController{}
13
14type imlAIKeyController struct {
15 module ai_key.IKeyModule `autowired:""`
16}
17
18func (i *imlAIKeyController) Enable(ctx *gin.Context, providerId string, id string) error {
19 return i.module.UpdateKeyStatus(ctx, providerId, id, true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected