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

Method SimpleList

module/system-apikey/iml.go:276–283  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

274}
275
276func (i *imlAPIKeyModule) SimpleList(ctx context.Context) ([]*system_apikey_dto.SimpleItem, error) {
277 list, err := i.apikeyService.Search(ctx, "", nil, "create_at desc")
278 if err != nil {
279 return nil, err
280 }
281
282 return utils.SliceToSlice(list, system_apikey_dto.ToAPIKeySimpleItem), nil
283}
284
285func (i *imlAPIKeyModule) online(ctx context.Context, client gateway.IClientDriver) error {
286

Callers

nothing calls this directly

Calls 1

SearchMethod · 0.65

Tested by

no test coverage detected