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

Method Close

module/publish/iml.go:470–477  ·  view source on GitHub ↗
(ctx context.Context, serviceId, id string)

Source from the content-addressed store, hash-verified

468 return nil
469}
470func (i *imlPublishModule) Close(ctx context.Context, serviceId, id string) error {
471 err := i.publishService.SetStatus(ctx, serviceId, id, publish.StatusClose)
472 if err != nil {
473 return err
474 }
475
476 return nil
477}
478
479func (i *imlPublishModule) Stop(ctx context.Context, serviceId string, id string) error {
480 _, err := i.serviceService.Check(ctx, serviceId, asServer)

Callers

nothing calls this directly

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected