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

Method SearchSubscriptions

controller/subscribe/iml.go:24–26  ·  view source on GitHub ↗

func (i *imlSubscribeController) PartitionServices(ctx *gin.Context, app string) ([]*subscribe_dto.PartitionServiceItem, error) { return i.module.PartitionServices(ctx, app) }

(ctx *gin.Context, appId string, keyword string)

Source from the content-addressed store, hash-verified

22//}
23
24func (i *imlSubscribeController) SearchSubscriptions(ctx *gin.Context, appId string, keyword string) ([]*subscribe_dto.SubscriptionItem, error) {
25 return i.module.SearchSubscriptions(ctx, appId, keyword)
26}
27
28func (i *imlSubscribeController) RevokeSubscription(ctx *gin.Context, service string, uuid string) error {
29 return i.module.RevokeSubscription(ctx, service, uuid)

Callers

nothing calls this directly

Calls 1

SearchSubscriptionsMethod · 0.65

Tested by

no test coverage detected