import "gocloud.dev/internal/useragent"
Package useragent includes constants and utilitiesfor setting the User-Agent for Go CDK connections to GCP.
AzureUserAgentPrefix returns a prefix that is used to set Azure SDK User-Agent to help with diagnostics.
func ClientOption(api string) option.ClientOption
ClientOption returns an option.ClientOption that sets a Go CDK User-Agent.
func GRPCDialOption(api string) grpc.DialOption
GRPCDialOption returns a grpc.DialOption that sets a Go CDK User-Agent.
HTTPClient wraps client and appends a Go CDK string to the User-Agent header for all requests.
Package useragent imports 4 packages (graph) and is imported by 11 packages. Updated 2019-01-30. Refresh now. Tools for package owners.