MCPcopy
hub / github.com/APIParkLab/APIPark / imlAPIKeyModule

Struct imlAPIKeyModule

module/system-apikey/iml.go:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32var _ IAPIKeyModule = new(imlAPIKeyModule)
33
34type imlAPIKeyModule struct {
35 apikeyService system_apikey.IAPIKeyService `autowired:""`
36 clusterServer cluster.IClusterService `autowired:""`
37 teamMemberService team_member.ITeamMemberService `autowired:""`
38 serviceService service.IServiceService `autowired:""`
39 applicationAuthorizationService application_authorization.IAuthorizationService `autowired:""`
40 subscribeService subscribe.ISubscribeService `autowired:""`
41 transaction store.ITransaction `autowired:""`
42}
43
44func (i *imlAPIKeyModule) MyAPIKeysByApp(ctx context.Context, appId string) ([]*system_apikey_dto.AuthorizationItem, error) {
45 appInfo, err := i.serviceService.Get(ctx, appId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected