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

Method CountMapByProvider

service/ai-key/iml.go:34–36  ·  view source on GitHub ↗
(ctx context.Context, keyword string, conditions map[string]interface{})

Source from the content-addressed store, hash-verified

32}
33
34func (i *imlAIKeyService) CountMapByProvider(ctx context.Context, keyword string, conditions map[string]interface{}) (map[string]int64, error) {
35 return i.store.CountByGroup(ctx, keyword, conditions, "provider")
36}
37
38func (i *imlAIKeyService) IncrUseToken(ctx context.Context, id string, useToken int) error {
39 info, err := i.store.GetByUUID(ctx, id)

Callers

nothing calls this directly

Calls 1

CountByGroupMethod · 0.45

Tested by

no test coverage detected