GRPCDialOption returns a grpc.DialOption that sets a Go CDK User-Agent.
(api string)
| 37 | |
| 38 | // GRPCDialOption returns a grpc.DialOption that sets a Go CDK User-Agent. |
| 39 | func GRPCDialOption(api string) grpc.DialOption { |
| 40 | return grpc.WithUserAgent(userAgentString(api)) |
| 41 | } |
| 42 | |
| 43 | // AzureUserAgentPrefix returns a prefix that is used to set Azure SDK User-Agent to help with diagnostics. |
| 44 | func AzureUserAgentPrefix(api string) string { |
no test coverage detected