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

Struct imlAIKeyService

service/ai-key/iml.go:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15var _ IKeyService = &imlAIKeyService{}
16
17type imlAIKeyService struct {
18 store ai.IKeyStore `autowired:""`
19 transaction store.ITransaction `autowired:""`
20 universally.IServiceGet[Key]
21 universally.IServiceCreate[Create]
22 universally.IServiceEdit[Edit]
23 universally.IServiceDelete
24}
25
26func (i *imlAIKeyService) DeleteByProvider(ctx context.Context, providerId string) error {
27 _, err := i.store.DeleteWhere(ctx, map[string]interface{}{"provider": providerId})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected