MCPcopy Create free account
hub / github.com/PasarGuard/node / RemoveOutboundUser

Method RemoveOutboundUser

backend/xray/api/proxyman.go:82–92  ·  view source on GitHub ↗
(ctx context.Context, tag, email string)

Source from the content-addressed store, hash-verified

80}
81
82func (x *XrayHandler) RemoveOutboundUser(ctx context.Context, tag, email string) error {
83 operation, err := ToTypedMessage(&command.RemoveUserOperation{
84 Email: email,
85 })
86 if err != nil {
87 return err
88 }
89
90 // Call the AlterInbound method with the AddUserOperation message
91 return x.AlertOutbound(ctx, tag, operation)
92}

Callers

nothing calls this directly

Calls 2

AlertOutboundMethod · 0.95
ToTypedMessageFunction · 0.85

Tested by

no test coverage detected