(ctx *gin.Context, input *monitor_dto.CommonInput)
| 161 | } |
| 162 | |
| 163 | func (i *imlMonitorStatisticController) Summary(ctx *gin.Context, input *monitor_dto.CommonInput) (*monitor_dto.MonSummaryOutput, *monitor_dto.MonSummaryOutput, error) { |
| 164 | requestSummary, err := i.module.RequestSummary(ctx, input) |
| 165 | if err != nil { |
| 166 | return nil, nil, err |
| 167 | } |
| 168 | proxySummary, err := i.module.ProxySummary(ctx, input) |
| 169 | if err != nil { |
| 170 | return nil, nil, err |
| 171 | } |
| 172 | return requestSummary, proxySummary, nil |
| 173 | } |
| 174 | |
| 175 | func (i *imlMonitorStatisticController) Top10(ctx *gin.Context, input *monitor_dto.Top10Input) (interface{}, error) { |
| 176 | switch input.DataType { |
nothing calls this directly
no test coverage detected