grpc-consul-resolver
grpc-consul-resolver copied to clipboard
fixbug: can not parse url query
GRPC version : 1.4.0 grpc-consul-resolver version: 1.4.4
type Target struct { // Deprecated: use URL.Scheme instead. Scheme string // Deprecated: use URL.Host instead. Authority string // Deprecated: use URL.Path or URL.Opaque instead. The latter is set when // the former is empty. Endpoint string // URL contains the parsed dial target with an optional default scheme added // to it if the original dial target contained no scheme or contained an // unregistered scheme. Any query params specified in the original dial // target can be accessed from here. URL url.URL }
Target.Endpoint is deprecated.