(ctx context.Context, tag string, operation *serial.TypedMessage)
| 8 | ) |
| 9 | |
| 10 | func (x *XrayHandler) AlertInbound(ctx context.Context, tag string, operation *serial.TypedMessage) error { |
| 11 | client := *x.HandlerServiceClient |
| 12 | _, err := client.AlterInbound(ctx, &command.AlterInboundRequest{Tag: tag, Operation: operation}) |
| 13 | if err != nil { |
| 14 | return err |
| 15 | } |
| 16 | return nil |
| 17 | } |
| 18 | |
| 19 | func (x *XrayHandler) AlertOutbound(ctx context.Context, tag string, operation *serial.TypedMessage) error { |
| 20 | client := *x.HandlerServiceClient |
no outgoing calls
no test coverage detected