threshold.go 420 B

12345678910111213
  1. package gd_management
  2. type GetApiThresholdReq struct {
  3. ApiId int64 `json:"api_id"`
  4. Type int `json:"type" description:"0 api 1 provider"`
  5. }
  6. type GetApiThresholdReply struct {
  7. WarningEnable bool `json:"warning_enable"`
  8. ThresholdTimeout int `json:"threshold_timeout"`
  9. ThresholdFailRate float64 `json:"threshold_fail_rate"`
  10. ThresholdNorecordRate float64 `json:"threshold_norecord_rage"`
  11. }