(ctx context.Context, tag, email string)
| 47 | } |
| 48 | |
| 49 | func (x *XrayHandler) RemoveInboundUser(ctx context.Context, tag, email string) error { |
| 50 | operation, err := ToTypedMessage(&command.RemoveUserOperation{ |
| 51 | Email: email, |
| 52 | }) |
| 53 | if err != nil { |
| 54 | return err |
| 55 | } |
| 56 | |
| 57 | // Call the AlterInbound method with the AddUserOperation message |
| 58 | return x.AlertInbound(ctx, tag, operation) |
| 59 | } |
| 60 | |
| 61 | func (x *XrayHandler) AddOutboundUser(ctx context.Context, tag string, user Account) error { |
| 62 | // Create the AddUserOperation message |
no test coverage detected