MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Close

Method Close

controller/publish/iml.go:85–91  ·  view source on GitHub ↗
(ctx *gin.Context, serviceId string, id string)

Source from the content-addressed store, hash-verified

83}
84
85func (c *imlPublishController) Close(ctx *gin.Context, serviceId string, id string) error {
86 err := c.publishModule.Stop(ctx, serviceId, id)
87 if err != nil {
88 return err
89 }
90 return nil
91}
92
93func (c *imlPublishController) Stop(ctx *gin.Context, serviceId string, id string) error {
94 return c.publishModule.Stop(ctx, serviceId, id)

Callers

nothing calls this directly

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected