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

Method AddSubscriber

module/subscribe/subscribe.go:16–16  ·  view source on GitHub ↗

AddSubscriber 新增订阅方

(ctx context.Context, pid string, input *subscribe_dto.AddSubscriber)

Source from the content-addressed store, hash-verified

14type ISubscribeModule interface {
15 // AddSubscriber 新增订阅方
16 AddSubscriber(ctx context.Context, pid string, input *subscribe_dto.AddSubscriber) error
17 ExistSubscriber(ctx context.Context, serviceId string, app string) error
18 // DeleteSubscriber 删除订阅方
19 DeleteSubscriber(ctx context.Context, project string, serviceId string, applicationId string) error

Callers

nothing calls this directly

Implementers 1

imlSubscribeModulemodule/subscribe/iml.go

Calls

no outgoing calls

Tested by

no test coverage detected