router.go 527 B

1234567891011121314151617
  1. package router
  2. import (
  3. "jygit.jydev.jianyu360.cn/dataservice/tripartite_gateway/core/util"
  4. )
  5. type Router struct {
  6. Id int //
  7. Status int //0:冻结不可用 1:正常可用
  8. TimeOut int64 //接口超时提醒,单位毫秒;默认500毫秒
  9. ReqUrl string //请求地址
  10. Remark string //路由备注信息
  11. Server string //服务地址
  12. Price int64 //单价
  13. ReqLimit *util.ReqLimit //并发限制
  14. IsFree bool //是否免费
  15. }