(secure bool)
| 185 | } |
| 186 | |
| 187 | func httpScheme(secure bool) string { |
| 188 | if secure { |
| 189 | return "https" |
| 190 | } |
| 191 | return "http" |
| 192 | } |
| 193 | |
| 194 | func grpcTransportCredentials(secure bool) (opt grpc.DialOption, err error) { |
| 195 | var creds credentials.TransportCredentials |
no outgoing calls
no test coverage detected