package grpcutil

import "google.golang.org/grpc/internal/grpcutil"

Package grpcutil provides a bunch of utility functions to be used across the gRPC codebase.

Index

Functions

func ParseTarget

func ParseTarget(target string) (ret resolver.Target)

ParseTarget splits target into a resolver.Target struct containing scheme, authority and endpoint.

If target is not a valid scheme://authority/endpoint, it returns {Endpoint: target}.

Source Files

target.go

Version
v1.29.0-dev
Published
Mar 5, 2020
Platform
linux/amd64
Imports
2 packages
Last checked
4 minutes ago

Tools for package owners.