grpc: Index | Files

package grpcutil

import ""

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


Package Files


func ParseTarget Uses

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}.

Package grpcutil imports 2 packages (graph) and is imported by 2 packages. Updated 2020-02-12. Refresh now. Tools for package owners.