(ctx context.Context, serviceId string, applicationId string)
| 43 | } |
| 44 | |
| 45 | func (i *imlSubscribeService) GetByServiceAndApplication(ctx context.Context, serviceId string, applicationId string) (*Subscribe, error) { |
| 46 | info, err := i.store.First(ctx, map[string]interface{}{"service": serviceId, "application": applicationId}) |
| 47 | if err != nil { |
| 48 | return nil, err |
| 49 | } |
| 50 | return FromEntity(info), nil |
| 51 | } |
| 52 | |
| 53 | func (i *imlSubscribeService) CountMapByService(ctx context.Context, status int, service ...string) (map[string]int64, error) { |
| 54 | w := make(map[string]interface{}) |
nothing calls this directly
no test coverage detected