(ctx context.Context, tag string, operation *serial.TypedMessage)
| 17 | } |
| 18 | |
| 19 | func (x *XrayHandler) AlertOutbound(ctx context.Context, tag string, operation *serial.TypedMessage) error { |
| 20 | client := *x.HandlerServiceClient |
| 21 | _, err := client.AlterOutbound(ctx, &command.AlterOutboundRequest{Tag: tag, Operation: operation}) |
| 22 | if err != nil { |
| 23 | return err |
| 24 | } |
| 25 | return nil |
| 26 | } |
| 27 | |
| 28 | func (x *XrayHandler) AddInboundUser(ctx context.Context, tag string, user Account) error { |
| 29 | // Create the AddUserOperation message |
no outgoing calls
no test coverage detected