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

Method Revoke

service/subscribe/iml.go:246–249  ·  view source on GitHub ↗
(ctx context.Context, service string, application string)

Source from the content-addressed store, hash-verified

244}
245
246func (i *imlSubscribeApplyService) Revoke(ctx context.Context, service string, application string) error {
247 _, err := i.store.UpdateWhere(ctx, map[string]interface{}{"service": service, "application": application}, map[string]interface{}{"status": -1})
248 return err
249}
250
251func (i *imlSubscribeApplyService) OnComplete() {
252 i.IServiceGet = universally.NewGet[Apply, subscribe.Apply](i.store, FromApplyEntity)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected