(ctx context.Context, serviceId string, app string)
| 39 | } |
| 40 | |
| 41 | func (i *imlSubscribeModule) ExistSubscriber(ctx context.Context, serviceId string, app string) error { |
| 42 | _, err := i.subscribeService.GetByServiceAndApplication(ctx, serviceId, app) |
| 43 | if err == nil { |
| 44 | return nil |
| 45 | } |
| 46 | return err |
| 47 | } |
| 48 | |
| 49 | func (i *imlSubscribeModule) ExportAll(ctx context.Context) ([]*subscribe_dto.ExportSubscriber, error) { |
| 50 | list, err := i.subscribeService.List(ctx) |
nothing calls this directly
no test coverage detected