MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / DoRemoveUser

Method DoRemoveUser

internal/nodeapi/api.go:180–185  ·  view source on GitHub ↗

DoRemoveUser 校验并热删用户。

(ctx context.Context, inboundTag, email string)

Source from the content-addressed store, hash-verified

178
179// DoRemoveUser 校验并热删用户。
180func (a *API) DoRemoveUser(ctx context.Context, inboundTag, email string) error {
181if inboundTag == "" || email == "" {
182return errors.New("inbound_tag and email are required")
183}
184return a.activeManager().RemoveUser(ctx, inboundTag, email)
185}
186
187// DoEnsureCert 当前实现仅返回 ok(实际 ACME 流程在 certmgr 包,节点侧无操作)。
188func (a *API) DoEnsureCert(domain, cfToken string) map[string]any {

Callers 1

HandleMethod · 0.80

Calls 2

activeManagerMethod · 0.95
RemoveUserMethod · 0.65

Tested by

no test coverage detected