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