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

Struct imlRouterModule

module/router/iml.go:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39)
40
41type imlRouterModule struct {
42 teamService team.ITeamService `autowired:""`
43 serviceService service.IServiceService `autowired:""`
44 apiService api.IAPIService `autowired:""`
45 upstreamService upstream.IUpstreamService `autowired:""`
46 transaction store.ITransaction `autowired:""`
47}
48
49func (i *imlRouterModule) SimpleAPIs(ctx context.Context, input *router_dto.InputSimpleAPI) ([]*router_dto.SimpleItem, error) {
50 list, err := i.apiService.ListForServices(ctx, input.Services...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected