(ctx context.Context, serviceId, id string)
| 468 | return nil |
| 469 | } |
| 470 | func (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 | |
| 479 | func (i *imlPublishModule) Stop(ctx context.Context, serviceId string, id string) error { |
| 480 | _, err := i.serviceService.Check(ctx, serviceId, asServer) |