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

Method GetApply

service/subscribe/iml.go:220–226  ·  view source on GitHub ↗
(ctx context.Context, serviceId string, appId string)

Source from the content-addressed store, hash-verified

218}
219
220func (i *imlSubscribeApplyService) GetApply(ctx context.Context, serviceId string, appId string) (*Apply, error) {
221 info, err := i.store.First(ctx, map[string]interface{}{"service": serviceId, "application": appId})
222 if err != nil {
223 return nil, err
224 }
225 return FromApplyEntity(info), err
226}
227
228func (i *imlSubscribeApplyService) ListByStatus(ctx context.Context, pid string, status ...int) ([]*Apply, error) {
229 w := make(map[string]interface{})

Callers

nothing calls this directly

Calls 1

FromApplyEntityFunction · 0.85

Tested by

no test coverage detected