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

Method ProviderStatisticsOnApi

module/monitor/iml.go:863–866  ·  view source on GitHub ↗
(ctx context.Context, apiId string, input *monitor_dto.StatisticInput)

Source from the content-addressed store, hash-verified

861}
862
863func (i *imlMonitorStatisticModule) ProviderStatisticsOnApi(ctx context.Context, apiId string, input *monitor_dto.StatisticInput) ([]*monitor_dto.ServiceStatisticBasicItem, error) {
864 clusterId := cluster.DefaultClusterID
865 return i.statisticOnApi(ctx, clusterId, apiId, "provider", input)
866}
867
868func (i *imlMonitorStatisticModule) ApiStatisticsOnProvider(ctx context.Context, providerId string, input *monitor_dto.StatisticInput) ([]*monitor_dto.ApiStatisticBasicItem, error) {
869 clusterId := cluster.DefaultClusterID

Callers

nothing calls this directly

Calls 1

statisticOnApiMethod · 0.95

Tested by

no test coverage detected