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

Method UpdateKeyStatus

module/ai-key/module.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, providerId string, id string, enable bool)

Source from the content-addressed store, hash-verified

15 Get(ctx context.Context, providerId string, id string) (*ai_key_dto.Key, error)
16 List(ctx context.Context, providerId string, keyword string, page, pageSize int, statuses []string) ([]*ai_key_dto.Item, int64, error)
17 UpdateKeyStatus(ctx context.Context, providerId string, id string, enable bool) error
18 Sort(ctx context.Context, providerId string, input *ai_key_dto.Sort) error
19}
20

Callers 2

EnableMethod · 0.65
DisableMethod · 0.65

Implementers 1

imlKeyModulemodule/ai-key/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected