(ctx *gin.Context, serviceId string)
| 19 | } |
| 20 | |
| 21 | func (i *imlUpstreamController) Get(ctx *gin.Context, serviceId string) (upstream_dto.UpstreamConfig, error) { |
| 22 | return i.upstreamModule.Get(ctx, serviceId) |
| 23 | } |
| 24 | |
| 25 | func (i *imlUpstreamController) Save(ctx *gin.Context, serviceId string, upstream *upstream_dto.Upstream) (upstream_dto.UpstreamConfig, error) { |
| 26 | return i.upstreamModule.Save(ctx, serviceId, upstream) |