(in string)
| 102 | } |
| 103 | |
| 104 | func convertRPCName(in string) string { |
| 105 | switch in { |
| 106 | case unaryCall: |
| 107 | return testpb.ClientConfigureRequest_UNARY_CALL.String() |
| 108 | case emptyCall: |
| 109 | return testpb.ClientConfigureRequest_EMPTY_CALL.String() |
| 110 | } |
| 111 | logger.Warningf("unrecognized rpc type: %s", in) |
| 112 | return in |
| 113 | } |
| 114 | |
| 115 | // copyStatsMap makes a copy of the map. |
| 116 | func copyStatsMap(originalMap map[string]int32) map[string]int32 { |