MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Get

Method Get

controller/upstream/iml.go:21–23  ·  view source on GitHub ↗
(ctx *gin.Context, serviceId string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected